/* Removido bloco de estilo do anúncio para atender exigências do Adsense */

:root {
  --bg-color: #fff;
  --text-color: #222;
  --text-secondary-color: #666;
  --primary-color: #FFA726;
  --primary-color-darker: #fb8c00;
  --card-bg-color: #f7f7f7;
  --shadow-color-light: rgba(255, 167, 38, 0.12);
  --border-color: rgba(255, 167, 38, 0.1);
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
}

html[data-theme="dark"] {
  --bg-color: #0a0a0b;
  --text-color: #e8e8e8;
  --text-secondary-color: #a1a1a6;
  --primary-color: #ffb74d;
  --primary-color-darker: #ffa726;
  --card-bg-color: #1a1a1d;
  --shadow-color-light: rgba(255, 183, 77, 0.15);
  --border-color: rgba(255, 183, 77, 0.2);
  --success-color: #66bb6a;
  --error-color: #ef5350;
  --warning-color: #ffab40;
  --info-color: #42a5f5;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(255, 167, 38, 0.02) 100%);
  min-height: 100vh;
  color: var(--text-color);
  transition: background 0.4s ease, color 0.3s ease;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 167, 38, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(251, 140, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================ */
/* MENU PROFISSIONAL REDESIGNED */
/* ============================ */

.main-nav {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  height: 64px;
}

/* Logo Area - Esquerda */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.logo-area a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFA726;
  letter-spacing: -0.5px;
}

/* Navigation Links - Centro */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-block;
}

.nav-links li a:hover {
  color: #FFA726;
  background: rgba(255, 167, 38, 0.08);
}

.nav-links li a.active {
  color: #FFA726;
  background: rgba(255, 167, 38, 0.12);
  font-weight: 600;
}

/* Actions Area - Direita */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switch-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.theme-switch-label:hover {
  background: rgba(255, 167, 38, 0.08);
}

.sun-and-moon {
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1), color 0.3s;
  color: #FFA726;
  transform: rotate(0deg) scale(1);
}

html[data-theme="dark"] .sun-and-moon {
  color: #ffb74d;
  transform: rotate(40deg) scale(1.1);
}

/* Animações dos elementos do sol/lua */
.sun-and-moon .sun {
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1);
}

.sun-and-moon .sun-beams {
  stroke-width: 2px;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.4, 2, 0.6, 1), opacity 0.3s ease;
}

html[data-theme="dark"] .sun-and-moon .sun-beams {
  opacity: 0;
  transform: scale(0.3);
}

/* Mobile: esconder raios do sol */
@media (max-width: 900px) {
  .sun-and-moon .sun-beams {
    display: none;
  }
}

input#switcher {
  display: none;
}

/* Login/Logout Buttons */
.login-btn {
  background: linear-gradient(135deg, #FFA726, #fb8c00);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.2);
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.3);
}

/* User Info Display */
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.user-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFA726;
}

.user-name {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.settings-btn {
  background: rgba(255, 167, 38, 0.1);
  border: none;
  color: #FFA726;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-btn:hover {
  background: rgba(255, 167, 38, 0.18);
}

.logout-btn {
  background: #f44336;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: #d32f2f;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #FFA726;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-label {
  display: none;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 64px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(4px);
}

.menu-overlay.open {
  display: block;
}

/* ============================ */
/* MOBILE RESPONSIVE MENU */
/* ============================ */

@media (max-width: 900px) {
  .main-nav {
    height: 60px;
  }

  .nav-content {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    gap: 16px;
  }

  .logo-img {
    height: 34px;
  }

  /* Hide desktop navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
    padding: 0 24px;
  }

  .nav-links li a {
    width: 100%;
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  /* Show menu toggle */
  .menu-toggle {
    display: block;
    order: 3;
  }

  /* Reorganize nav-actions for mobile */
  .nav-actions {
    width: 100%;
    padding: 0 24px;
    margin-top: 8px;
  }

  .nav-actions .user-info {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
  }

  .nav-actions .user-dropdown {
    width: 100%;
    justify-content: space-between;
  }

  .nav-actions .logout-btn {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .main-nav {
    height: 56px;
  }

  .nav-content {
    padding: 0 12px;
  }

  .logo-img {
    height: 30px;
  }

  .user-name {
    display: none;
  }
}

/* Enhanced Container with modern design */
.container {
  margin-top: 88px;
  max-width: 1100px;
  min-width: 340px;
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.03);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding: 32px 24px;
    margin-top: 84px;
    border-radius: 12px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 24px 16px;
    margin-top: 76px;
    border-radius: 8px;
  }
}

/* Enhanced Header Typography */
header {
  text-align: center;
  padding: 0 0 16px 0;
  position: relative;
}

header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 16px 0;
  color: var(--text-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

header h1 span {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-darker));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

header p {
  color: var(--text-secondary-color);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0;
  text-align: center;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.upload-area {
  background: repeating-linear-gradient(135deg, #f7f7f7 0 20px, #f0f0f0 20px 40px);
  border: 2px dashed #FFA726;
  border-radius: 16px;
  padding: 36px 16px;
  text-align: center;
  transition: border-color 0.2s;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.upload-area.dragover {
  border-color: #fb8c00;
  background: #fff3e0;
}

.drop-message svg {
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.drop-message span {
  font-size: 1.15rem;
  color: #fb8c00;
}
.drop-message button {
  background: none;
  border: none;
  color: #FFA726;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.drop-message button:hover {
  color: #fb8c00;
}

.preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.preview img {
  max-width: 180px;
  max-height: 120px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.10);
  object-fit: contain;
  background: #fff;
}
.file-info {
  font-size: 0.98rem;
  color: #666;
  display: flex;
  gap: 12px;
}
.convert-btn {
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.10);
  transition: background 0.2s, transform 0.1s;
  margin-top: 10px;
}
.convert-btn:hover {
  background: linear-gradient(90deg, #fb8c00 60%, #FFA726 100%);
  transform: translateY(-2px) scale(1.03);
}

.progress {
  width: 100%;
  height: 8px;
  background: #ffe0b2;
  border-radius: 6px;
  margin: 18px 0 0 0;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%);
  border-radius: 6px;
  transition: width 0.4s cubic-bezier(.4,2,.6,1);
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.download-btn {
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.10);
  transition: background 0.2s, transform 0.1s;
}
.download-btn:hover {
  background: linear-gradient(90deg, #fb8c00 60%, #FFA726 100%);
  transform: translateY(-2px) scale(1.03);
}
.reset-btn {
  background: none;
  border: none;
  color: #FFA726;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: underline;
  margin-top: 4px;
  transition: color 0.2s;
}
.reset-btn:hover {
  color: #fb8c00;
}

/* Estilos para múltiplos arquivos */
.upload-hint {
  font-size: 0.9rem;
  color: #888;
  margin-top: 8px;
  margin-bottom: 0;
}

.files-summary {
  width: 100%;
  background: var(--card-bg-color);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
}

.files-summary h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--text-color);
}

.total-size {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
}

.files-list {
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: var(--card-bg-color);
}

.file-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.file-item:last-child {
  border-bottom: none;
}

.file-item:hover {
  background-color: #f9f9f9;
}

.file-preview {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 12px;
  border: 1px solid #e0e0e0;
}

.file-details {
  flex: 1;
}

.file-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 2px;
}

.file-size {
  font-size: 0.85rem;
  color: var(--text-secondary-color);
}

.file-actions {
  display: flex;
  gap: 8px;
}

.remove-file-btn {
  background: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.remove-file-btn:hover {
  background: #d32f2f;
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
}

.download-all-btn {
  background: #4caf50;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.2s;
}

.download-all-btn:hover {
  background: #45a049;
  color: #fff !important;
  text-decoration: none !important;
}

.download-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: var(--card-bg-color);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

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

.download-file-preview {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.download-file-details {
  display: flex;
  flex-direction: column;
}

.download-file-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-color);
}

.download-file-size {
  font-size: 0.8rem;
  color: var(--text-secondary-color);
}

.individual-download-btn {
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
}

.individual-download-btn:hover {
  background: linear-gradient(90deg, #fb8c00 60%, #FFA726 100%);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Estilos para scrollbars customizadas */
.files-list::-webkit-scrollbar {
  width: 6px;
}

.files-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.files-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.files-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsividade para múltiplos arquivos */
@media (max-width: 768px) {
  .files-list {
    max-height: 250px;
  }
  
  .file-item {
    padding: 10px;
  }
  
  .file-preview {
    width: 35px;
    height: 35px;
  }
  
  .download-header {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .download-all-btn {
    width: 100%;
  }
  
  .download-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .download-file-info {
    width: 100%;
  }
}

/* Painel do usuário - Design limpo sem background duplo */
.user-images-panel {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.user-images-panel h2 {
  font-size: 1.8rem;
  color: #fb8c00;
  margin-bottom: 0;
  font-weight: 700;
}
.user-images-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.user-image-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.05);
}

.user-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(255, 167, 38, 0.15);
}

html[data-theme="dark"] .user-image-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.user-image-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
  background: #f7f7f7;
}

html[data-theme="dark"] .user-image-card img {
  background: rgba(255, 255, 255, 0.05);
}

.user-image-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.user-image-card button {
  background: rgba(255, 167, 38, 0.1);
  border: 1px solid rgba(255, 167, 38, 0.2);
  color: #fb8c00;
  font-size: 1.1em;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  flex: 1;
}
.user-image-card button:hover {
  background: #FFA726;
  color: white;
  border-color: #FFA726;
  transform: scale(1.05);
}

html[data-theme="dark"] .user-image-card button {
  background: rgba(255, 167, 38, 0.15);
  border-color: rgba(255, 167, 38, 0.3);
}

html[data-theme="dark"] .user-image-card button:hover {
  background: #FFA726;
  color: #000;
}

/* Cards informativos */
.info-cards {
  display: flex;
  gap: 24px;
  margin: 32px 0 0 0;
  flex-wrap: wrap;
  justify-content: center;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px #0001;
  padding: 24px;
  min-width: 280px;
  max-width: 380px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  overflow: hidden;
}

.info-card h3 {
  color: #fb8c00;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  width: 100%;
}

.info-card p {
  color: var(--text-secondary-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  width: 100%;
}

.info-card ul {
  text-align: left;
  margin: 12px 0 0 0;
  padding-left: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

.info-card ul li {
  color: var(--text-secondary-color);
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 0.93rem;
  position: relative;
  padding-left: 24px;
  width: 100%;
  box-sizing: border-box;
}

.info-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.1em;
}

.info-card a {
  color: white;
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  display: block;
  width: calc(100% - 0px);
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(255, 167, 38, 0.25);
  box-sizing: border-box;
}

.info-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.35);
}

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

footer {
  text-align: center;
  color: #999;
  font-size: 0.98rem;
  margin-top: 24px;
}

/* ============================ */
/* SEÇÃO DE FEATURES/BENEFÍCIOS */
/* ============================ */

.features-section {
  width: 100%;
  max-width: none;
  margin: 60px 0 40px;
  padding: 0;
}

.features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px 30px;
  width: 100%;
}

.feature-card {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.feature-card a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.feature-card a:hover {
  border-bottom-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 20px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .feature-card {
    padding: 24px 18px;
  }
}

/* ============================ */
/* FOOTER PROFISSIONAL REDESIGNED */
/* ============================ */

/* ========================================
   FOOTER COMPONENTE PHP
======================================== */

.site-footer {
  background: #2b2d31;
  margin-top: 80px;
  padding: 0;
  border-top: none;
}

/* Stats Grid - 3 Cards */
.site-footer .stats-grid {
  background: #2b2d31;
  border-bottom: 1px solid #3a3c41;
  padding: 48px 32px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #3a3c41;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #4a4c51;
  transform: translateY(-2px);
}

.stat-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.stat-content {
  flex: 1;
}

.stat-value {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.stat-label {
  color: #a0a0a0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Footer Links Section */
.footer-links-section {
  background: #2b2d31;
  padding: 48px 0;
}

.footer-links-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0px;
  text-transform: none;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer-column ul li {
  margin: 0;
}

.footer-column ul li a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  background: #2b2d31;
  border-top: 1px solid #3a3c41;
  padding: 24px 0;
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: #a0a0a0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-copy p {
  margin: 0;
}

.footer-copy .separator {
  color: #5a5c61;
}

.footer-copy a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: #ffffff;
}

/* Language Selector */
.footer-language {
  display: flex;
  align-items: center;
}

.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #3a3c41;
  border-radius: 6px;
  padding: 8px 16px;
  color: #a0a0a0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-selector:hover {
  border-color: #5a5c61;
  color: #ffffff;
}

.language-selector svg {
  flex-shrink: 0;
}

.language-selector span {
  font-weight: 400;
}

/* Language Dropdown */
.footer-language {
  position: relative;
}

.language-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  background: #2b2d31;
  border: 1px solid #3a3c41;
  border-radius: 8px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  color: #a0a0a0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.language-option:hover {
  background: rgba(255, 167, 38, 0.1);
  color: #ffffff;
}

.language-option .flag {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.language-option span:last-child {
  font-weight: 400;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .site-footer .stats-grid {
    padding: 40px 24px;
    gap: 20px;
  }
  
  .stat-box {
    padding: 22px 24px;
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .site-footer .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-box {
    padding: 20px 22px;
    gap: 20px;
  }

  .stat-box:last-child {
    grid-column: 1 / -1;
  }
  
  .stat-icon {
    width: 52px;
    height: 52px;
  }
  
  .stat-icon svg {
    width: 26px;
    height: 26px;
  }

  .footer-links-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-value {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .site-footer .stats-grid {
    padding: 32px 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-box {
    padding: 20px;
    gap: 18px;
  }

  .stat-box:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
  }

  .stat-icon svg {
    width: 24px;
    height: 24px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .footer-links-section {
    padding: 36px 0;
  }

  .footer-links-content {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-copy {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer .stats-grid {
    padding: 24px 16px;
    gap: 12px;
  }

  .stat-box {
    padding: 18px;
    gap: 16px;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
  }
  
  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .footer-links-content {
    padding: 0 16px;
  }
}

/* Dark Mode - Footer Already Dark */
html[data-theme="dark"] .main-footer {
  background: #2b2d31;
}

html[data-theme="dark"] .footer-stats-bar,
html[data-theme="dark"] .footer-links-section,
html[data-theme="dark"] .footer-bottom {
  background: #2b2d31;
  border-color: #3a3c41;
}

html[data-theme="dark"] .stat-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: #3a3c41;
}

html[data-theme="dark"] .stat-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #4a4c51;
}

html[data-theme="dark"] .stat-value,
html[data-theme="dark"] .footer-column h4 {
  color: #ffffff;
}

html[data-theme="dark"] .stat-label,
html[data-theme="dark"] .footer-column ul li a,
html[data-theme="dark"] .footer-copy,
html[data-theme="dark"] .footer-copy a,
html[data-theme="dark"] .language-selector {
  color: #a0a0a0;
}

html[data-theme="dark"] .footer-column ul li a:hover,
html[data-theme="dark"] .footer-copy a:hover,
html[data-theme="dark"] .language-selector:hover {
  color: #ffffff;
}

/* Smooth transitions for theme switching */
body, 
.main-nav, 
.container, 
.info-card, 
.user-images-panel, 
.user-image-card, 
.quality-box, 
.drop-message,
.faq-item,
.main-footer,
.footer-stats-bar,
.footer-links-section,
.footer-bottom,
.stat-box,
.benefits-highlight,
.benefit-item,
.highlight-box,
.comparison-table table,
.benefit-card,
.tip-box,
.related-faqs {
  transition: all 0.3s ease;
}

.footer-copy .heart {
  color: #ff6b6b;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: #6b7280;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.footer-social a:hover {
  color: #FFA726;
  background: rgba(255, 167, 38, 0.1);
  transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .footer-main {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 32px;
  }
  
  .footer-stats {
    justify-content: flex-start;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 0;
    margin-top: 60px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px 32px;
    gap: 32px;
  }
  
  .footer-bottom {
    padding: 16px 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 0 24px;
  }
  
  .footer-copy {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-copy p {
    white-space: normal;
  }
  
  .footer-stats {
    justify-content: space-around;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .stat {
    flex: 1;
    min-width: 100px;
  }
}

/* === FAQ Page Styles === */
.faq-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9em;
  color: var(--text-secondary-color);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.faq-header h1 {
  color: var(--text-color);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.faq-intro {
  color: var(--text-secondary-color);
  font-size: 1.2em;
  line-height: 1.5;
}

.faq-content {
  line-height: 1.7;
}

.content-section {
  margin-bottom: 50px;
}

.content-section h2 {
  color: var(--primary-color);
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255, 167, 38, 0.2);
  padding-bottom: 12px;
}

.content-section h3 {
  color: var(--text-color);
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 16px;
}

.content-section p {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.1), rgba(251, 140, 0, 0.05));
  border: 1px solid rgba(255, 167, 38, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li {
  margin-bottom: 8px;
  color: var(--text-secondary-color);
}

.comparison-table {
  overflow-x: auto;
  margin: 24px 0;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 167, 38, 0.1);
}

.comparison-table th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table td {
  color: var(--text-secondary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.benefit-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 167, 38, 0.1);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 167, 38, 0.15);
  border-color: var(--primary-color);
}

.benefit-card h3 {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-bottom: 12px;
}

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

.browser-support {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.browser-support li {
  background: var(--card-bg-color);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 167, 38, 0.1);
  color: var(--text-secondary-color);
}

.tip-box {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border: 1px solid #2196f3;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.tip-box h3 {
  color: #1976d2;
  margin-bottom: 12px;
}

.tip-box p {
  color: #424242;
  margin: 0;
}

.steps-list {
  padding-left: 0;
  counter-reset: step-counter;
}

.steps-list li {
  counter-increment: step-counter;
  margin-bottom: 24px;
  padding-left: 60px;
  position: relative;
  list-style: none;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1em;
}

.steps-list strong {
  color: var(--text-color);
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-darker));
  color: white;
  text-align: center;
  padding: 40px;
  border-radius: 16px;
  margin: 50px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  margin-bottom: 24px;
}

.cta-button {
  background: white;
  color: var(--primary-color);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.related-faqs {
  background: var(--card-bg-color);
  border-radius: 16px;
  padding: 32px;
  margin-top: 50px;
  border: 1px solid rgba(255, 167, 38, 0.1);
}

.related-faqs h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 24px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.related-links a {
  background: white;
  color: var(--text-secondary-color);
  padding: 16px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 167, 38, 0.1);
  transition: all 0.3s ease;
  display: block;
}

.related-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 167, 38, 0.15);
}

/* FAQ Page Responsive */
@media (max-width: 768px) {
  .faq-page {
    padding: 60px 15px 40px;
  }
  
  .faq-header h1 {
    font-size: 2em;
  }
  
  .content-section h2 {
    font-size: 1.5em;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .browser-support {
    grid-template-columns: 1fr;
  }
  
  .related-links {
    grid-template-columns: 1fr;
  }
  
  .breadcrumb {
    flex-wrap: wrap;
  }
}
.heart {
  color: #fb8c00;
  font-size: 1.1em;
}

.hidden {
  display: none !important;
}

/* Exibe o botão de login apenas no menu mobile */
.login-mobile { display: none; }
#login-btn-desktop { display: inline-flex; }

@media (max-width: 900px) {
  .login-mobile { display: block; margin-top: 16px; }
  #login-btn-desktop { display: none; }
}

@media (max-width: 900px) {
  .nav-content {
    padding: 0 10px;
  }
  .container {
    max-width: 99vw;
    padding: 10px 2vw 6px 2vw;
  }
  .nav-links {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .main-nav {
    height: 54px;
  }
  .nav-content {
    height: 54px;
    flex-direction: column;
    gap: 4px;
    padding: 0 2vw;
  }
  .logo-text {
    font-size: 1rem;
  }
  .nav-links {
    gap: 8px;
  }
  .container {
    margin-top: 70px;
  }
  .upload-area {
    padding: 16px 2vw;
    min-height: 120px;
  }
  .preview img {
    max-width: 98vw;
    max-height: 60px;
  }
  .user-images-list {
    gap: 8px;
  }
  .user-image-card {
    width: 90px;
    min-height: 90px;
    padding: 4px 4px 2px 4px;
  }
  .info-card {
    min-width: 90vw;
    max-width: 99vw;
    padding: 10px 8px 8px 8px;
  }
}

/* Estilo para o box do controle de qualidade */
.quality-box {
  background: #fff3e0;
  border-radius: 8px;
  padding: 16px 18px 10px 18px;
  box-shadow: 0 1px 4px #0001;
  border: 1px solid #ffe0b2;
  margin-bottom: 10px;
}
.quality-box input[type=range] {
  width: 180px;
  accent-color: #fb8c00;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffa726 0%, #fb8c00 100%);
  outline: none;
  transition: background 0.3s;
}
.quality-box input[type=range]:hover {
  background: linear-gradient(90deg, #fb8c00 0%, #ffa726 100%);
}
.quality-box label {
  font-size: 1.08em;
  margin-bottom: 4px;
}
.quality-box span#quality-value {
  min-width: 32px;
  display: inline-block;
  text-align: right;
}
@media (max-width: 600px) {
  .quality-box {
    padding: 10px 8px 8px 8px;
  }
  .quality-box input[type=range] {
    width: 100px;
  }
}
/* Estilo para o resultado da compressão */
.compression-box {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 12px 16px;
  color: #388e3c;
  font-size: 1.05em;
  box-shadow: 0 1px 4px #0001;
  border: 1px solid #c8e6c9;
  margin-bottom: 10px;
}

/* Logo no menu */
.logo-img {
  height: 44px;
  width: auto;
  margin-right: 12px;
  display: block;
}

/* Ícones e menu label */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.icon-btn:hover {
  background: #FFA72622;
}
.nav-menu-label {
  color: #222;
  font-size: 1.08rem;
  font-weight: 500;
  margin-right: 2px;
  letter-spacing: 0.5px;
  display: inline-block;
}
.menu-toggle {
  font-size: 2rem;
  color: #FFA726;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0;
  z-index: 1101;
  padding: 0 4px;
}
.menu-toggle.open {
  color: #fff;
}

/* Esconde nav-links e nav-actions no desktop, mostra no mobile */
@media (max-width: 700px) {
  .main-nav {
    height: 56px;
    min-height: 56px;
    padding: 0;
  }
  .nav-content {
    height: 56px;
    min-height: 56px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
  .logo-area {
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
    height: 56px;
  }
  .logo-img {
    height: 40px;
    max-height: 48px;
    width: auto;
    margin-right: 0;
    margin-left: 0;
    display: block;
    object-fit: contain;
  }
  .nav-icons {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 10px;
    align-items: center;
    height: 56px;
    order: 2;
  }
  .menu-toggle {
    align-self: center;
    margin-left: 0;
    margin-right: 0;
    padding: 0 4px;
    order: 3;
  }
}
@media (min-width: 701px) {
  .menu-toggle, .nav-menu-label {
    display: none !important;
  }
}
/* ============================ */
/* DARK MODE ENHANCEMENTS */
/* ============================ */

/* Dark mode body background */
html[data-theme="dark"] body {
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(26, 26, 29, 0.8) 100%);
}

html[data-theme="dark"] body::before {
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 183, 77, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 167, 38, 0.05) 0%, transparent 50%);
}

/* Dark mode container */
html[data-theme="dark"] .container {
  background: var(--card-bg-color);
  border-color: rgba(255, 183, 77, 0.1);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Dark mode navigation */
html[data-theme="dark"] .main-nav {
  background: var(--card-bg-color);
  border-bottom-color: var(--border-color);
}

html[data-theme="dark"] .nav-links li a {
  color: var(--text-color);
}

html[data-theme="dark"] .nav-links li a:hover,
html[data-theme="dark"] .nav-links li a.active {
  color: var(--primary-color);
}

/* Dark mode footer */
html[data-theme="dark"] .main-footer {
  background: var(--card-bg-color);
  border-top-color: var(--border-color);
}

html[data-theme="dark"] .footer-section h4,
html[data-theme="dark"] .footer-logo h3 {
  color: var(--text-color);
}

html[data-theme="dark"] .footer-description,
html[data-theme="dark"] .footer-links a {
  color: var(--text-secondary-color);
}

html[data-theme="dark"] .footer-links a:hover {
  color: var(--primary-color);
}

html[data-theme="dark"] .footer-bottom {
  background: var(--bg-color);
  border-top-color: var(--border-color);
}

html[data-theme="dark"] .footer-social a {
  background: rgba(255, 167, 38, 0.1);
  color: var(--text-secondary-color);
}

html[data-theme="dark"] .footer-social a:hover {
  background: rgba(255, 167, 38, 0.2);
  color: var(--primary-color);
}

/* Smooth transitions for theme switching */
body, 
.main-nav, 
.container, 
.info-card, 
.user-images-panel, 
.user-image-card, 
.quality-box, 
.drop-message,
.faq-item,
.main-footer,
.footer-content,
.benefits-highlight,
.benefit-item,
.highlight-box,
.comparison-table table,
.benefit-card,
.tip-box,
.related-faqs,
.related-links a {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dark mode navigation */
html[data-theme="dark"] .main-nav {
  background: var(--card-bg-color) !important;
  border-bottom: 1px solid var(--border-color);
}

html[data-theme="dark"] .nav-links a {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .nav-links a:hover {
  color: var(--primary-color) !important;
}

/* Dark mode footer */
html[data-theme="dark"] .main-footer {
  background: linear-gradient(135deg, var(--card-bg-color) 0%, rgba(26, 26, 29, 0.8) 100%);
  border-top: 1px solid var(--border-color);
}

html[data-theme="dark"] .footer-section h4,
html[data-theme="dark"] .footer-logo h3 {
  color: var(--primary-color);
}

html[data-theme="dark"] .footer-description,
html[data-theme="dark"] .footer-links a {
  color: var(--text-secondary-color);
}

html[data-theme="dark"] .footer-links a:hover {
  color: var(--primary-color);
}

html[data-theme="dark"] .stat strong {
  color: var(--primary-color);
}

html[data-theme="dark"] .stat span {
  color: var(--text-secondary-color);
}

/* Dark mode benefits section */
html[data-theme="dark"] .benefits-highlight {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.08), rgba(255, 167, 38, 0.03));
  border-color: var(--border-color);
}

html[data-theme="dark"] .benefit-item {
  background: rgba(255, 183, 77, 0.05);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

html[data-theme="dark"] .benefit-item:hover {
  background: rgba(255, 183, 77, 0.1);
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.1);
}

/* Dark mode FAQ section */
html[data-theme="dark"] .faq-item {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(255, 183, 77, 0.1);
}

html[data-theme="dark"] .faq-item h3 {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.08), rgba(255, 167, 38, 0.03));
  border-bottom-color: var(--border-color);
}

/* Dark mode info cards */
html[data-theme="dark"] .info-card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .info-card:hover {
  box-shadow: 0 12px 40px rgba(255, 183, 77, 0.1);
  border-color: var(--primary-color);
}

html[data-theme="dark"] .info-card h3 {
  color: #FFB74D;
}

html[data-theme="dark"] .info-card ul li {
  color: var(--text-secondary-color);
}

html[data-theme="dark"] .info-card ul li svg {
  opacity: 0.9;
}

/* Dark mode file upload area */
html[data-theme="dark"] .upload-area {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .drop-message {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .quality-box {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

/* Dark mode form elements */
html[data-theme="dark"] input[type="range"] {
  background: var(--card-bg-color);
}

html[data-theme="dark"] input[type="range"]::-webkit-slider-track {
  background: rgba(255, 183, 77, 0.2);
}

html[data-theme="dark"] input[type="range"]::-webkit-slider-thumb {
  background: var(--primary-color);
}

/* Dark mode buttons */
html[data-theme="dark"] .convert-btn,
html[data-theme="dark"] .download-btn {
  background: var(--primary-color);
  color: var(--bg-color);
}

html[data-theme="dark"] .convert-btn:hover,
html[data-theme="dark"] .download-btn:hover {
  background: var(--primary-color-darker);
}

html[data-theme="dark"] .reset-btn {
  background: var(--card-bg-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

/* Dark mode FAQ page specific */
html[data-theme="dark"] .highlight-box {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.08), rgba(255, 167, 38, 0.03));
  border-color: var(--border-color);
}

html[data-theme="dark"] .comparison-table table {
  background: var(--card-bg-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .comparison-table th {
  background: var(--primary-color);
  color: var(--bg-color);
}

html[data-theme="dark"] .comparison-table td {
  border-bottom-color: var(--border-color);
}

html[data-theme="dark"] .benefit-card {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .benefit-card:hover {
  box-shadow: 0 8px 30px rgba(255, 183, 77, 0.1);
  border-color: var(--primary-color);
}

html[data-theme="dark"] .browser-support li {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .tip-box {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.1), rgba(187, 222, 251, 0.05));
  border-color: var(--info-color);
}

html[data-theme="dark"] .tip-box h3 {
  color: var(--info-color);
}

html[data-theme="dark"] .related-faqs {
  background: var(--card-bg-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .related-links a {
  background: rgba(255, 183, 77, 0.03);
  border-color: var(--border-color);
}

html[data-theme="dark"] .related-links a:hover {
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.1);
}

/* Dark mode improvements for better contrast */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
  color: var(--text-color);
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] span {
  color: var(--text-secondary-color);
}

html[data-theme="dark"] strong {
  color: var(--text-color);
}

/* Dark mode AdSense area */
html[data-theme="dark"] .adsbygoogle {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* === MICRO-INTERACTIONS AND ANIMATIONS === */

/* Smooth hover animations for buttons */
.convert-btn,
.download-btn,
.login-btn,
.reset-btn,
.footer-links a,
.related-links a {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.convert-btn::before,
.download-btn::before,
.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.convert-btn:hover::before,
.download-btn:hover::before,
.login-btn:hover::before {
  left: 100%;
}

/* Enhanced card hover effects */
.info-card,
.benefit-card,
.faq-item,
.benefit-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover,
.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.faq-item:hover {
  transform: translateY(-2px);
}

.benefit-item:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Loading animation for buttons */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.convert-btn:active::after,
.download-btn:active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 0.6s linear;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.1);
}

/* Parallax effect for background elements */
@media (prefers-reduced-motion: no-preference) {
  .container {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .info-card {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
  }
  
  .faq-section {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
  }
}

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

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .container {
    margin-top: 60px;
    padding: 20px 16px;
    gap: 24px;
    border-radius: 12px;
  }
  
  header h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  header p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .benefits-highlight {
    padding: 16px;
    gap: 12px;
    margin: 16px 0 24px;
  }
  
  .benefit-item {
    font-size: 0.85em;
    padding: 8px 12px;
  }
  
  .info-cards {
    flex-direction: column;
    gap: 20px;
  }
  
  .info-card {
    margin: 0;
    padding: 24px 20px;
  }
  
  .faq-item h3 {
    font-size: 1.05em;
    padding: 16px 20px;
  }
  
  .faq-item div[itemprop="text"] {
    padding: 0 20px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .container {
    margin-top: 56px;
    padding: 16px 12px;
    max-width: 98vw;
  }
  
  header h1 {
    font-size: 1.6rem;
  }
  
  .benefits-highlight {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  .footer-stats {
    justify-content: space-around;
    gap: 16px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .container {
    border: 2px solid var(--primary-color);
  }
  
  .info-card,
  .benefit-card,
  .faq-item {
    border: 1px solid var(--text-color);
  }
  
  button {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .main-nav,
  .footer-social,
  button {
    display: none !important;
  }
  
  .container {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}
.individual-download-btn,
.download-all-btn,
.card-actions .download-btn,
a.individual-download-btn,
a.download-all-btn {
  color: #fff !important;
  text-decoration: none !important;
}

.individual-download-btn:hover,
.download-all-btn:hover,
.card-actions .download-btn:hover,
a.individual-download-btn:hover,
a.download-all-btn:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Botões */
.login-btn, .logout-btn, .convert-btn, .download-btn {
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%) !important;
  color: #fff !important;
}
html[data-theme="dark"] .login-btn,
html[data-theme="dark"] .logout-btn,
html[data-theme="dark"] .convert-btn,
html[data-theme="dark"] .download-btn {
  background: linear-gradient(90deg, #FFA726 60%, #fb8c00 100%) !important;
  color: #fff !important;
}

/* Garantir que todos os botões de download tenham texto branco */
.individual-download-btn,
.download-all-btn,
.card-actions .download-btn,
a.individual-download-btn,
a.download-all-btn,
button.download-all-btn {
  color: #fff !important;
  text-decoration: none !important;
}

html[data-theme="dark"] .individual-download-btn,
html[data-theme="dark"] .download-all-btn,
html[data-theme="dark"] .card-actions .download-btn,
html[data-theme="dark"] a.individual-download-btn,
html[data-theme="dark"] a.download-all-btn,
html[data-theme="dark"] button.download-all-btn {
  color: #fff !important;
  text-decoration: none !important;
}
html[data-theme="dark"] .convert-btn,
html[data-theme="dark"] .download-btn {
  background: linear-gradient(90deg, #fb8c00 60%, #FFA726 100%) !important;
  color: #fff !important;
}

/* Menu mobile */
@media (max-width: 700px) {
  .nav-links {
    background: #fff !important;
  }
  html[data-theme="dark"] .nav-links {
    background: #111 !important;
  }
  .nav-links li a {
    color: #222 !important;
  }
  html[data-theme="dark"] .nav-links li a {
    color: #f3f3f3 !important;
  }
}

/* Cards de resultado e compressão */
.compression-box {
  background: #e8f5e9 !important;
  color: #388e3c !important;
}
html[data-theme="dark"] .compression-box {
  background: #1b2e1b !important;
  color: #a5d6a7 !important;
} 

/* Título principal e palavra Menu - lógica igual para ambos os temas */
header h1, .nav-menu-label {
  color: #222 !important;
}
header h1 span {
  color: #FFA726 !important;
}
html[data-theme="dark"] header h1,
html[data-theme="dark"] .nav-menu-label {
  color: #f3f3f3 !important;
}
html[data-theme="dark"] header h1 span {
  color: #FFA726 !important;
} 

.logo-light { display: inline-block; }
.logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none !important; }
html[data-theme="dark"] .logo-dark { display: inline-block !important; } 

/* Remover fundo da .drop-message para herdar do pai */
.drop-message { background: unset !important; }
html[data-theme="dark"] .drop-message { background: unset !important; } 

/* Notificações de erro */
.error-notification {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Estados de loading para botões */
.login-btn:disabled,
.logout-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Melhorias para o painel de usuário */
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 167, 38, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 167, 38, 0.2);
}

html[data-theme="dark"] .user-info {
  background: rgba(255, 167, 38, 0.15);
  border-color: rgba(255, 167, 38, 0.3);
}

/* Estatísticas de armazenamento - Layout horizontal melhorado */
.storage-stats {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.08) 0%, rgba(251, 140, 0, 0.05) 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 167, 38, 0.15);
}

html[data-theme="dark"] .storage-stats {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.12) 0%, rgba(251, 140, 0, 0.08) 100%);
  border-color: rgba(255, 167, 38, 0.25);
}

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

.stat-item {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 167, 38, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.15);
}

html[data-theme="dark"] .stat-item {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 167, 38, 0.25);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: #FFA726;
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-item span {
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

html[data-theme="dark"] .stat-item span {
  color: #bbb;
}

/* Melhorias nos cards de imagem */
.user-image-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.user-image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.user-image-card img {
  cursor: pointer;
  transition: transform 0.2s;
}

.user-image-card img:hover {
  transform: scale(1.05);
}

.image-info {
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0,0,0,0.1);
}

html[data-theme="dark"] .image-info {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.image-info span {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

html[data-theme="dark"] .image-info span {
  color: #f3f3f3;
}

.image-info small {
  color: #666;
  font-size: 0.85rem;
}

html[data-theme="dark"] .image-info small {
  color: #bbb;
}

/* Botões de ação */
.card-actions {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0,0,0,0.1);
}

html[data-theme="dark"] .card-actions {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-actions button {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.card-actions .download-btn {
  background: #4caf50;
  color: #fff !important;
  text-decoration: none !important;
}

.card-actions .download-btn:hover {
  background: #45a049;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.card-actions .delete-btn {
  background: #f44336;
  color: white;
}

.card-actions .delete-btn:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

/* Estado vazio */
.no-images {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

html[data-theme="dark"] .no-images {
  color: #bbb;
}

.no-images p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.no-images small {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Notificações de sucesso */
.success-notification {
  animation: slideIn 0.3s ease-out;
} 

@media (min-width: 901px) {
  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .logo-area {
    flex: 0 0 auto;
    margin-right: 0;
  }
  .nav-links {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
  }
  .nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
    order: 2;
  }
  .theme-toggle {
    margin-left: 12px;
    order: 3;
  }
  #login-btn-desktop {
    order: 2;
  }
} 

/* Ajuste para informações do usuário no topo em modo escuro */
html[data-theme="dark"] .user-info,
html[data-theme="dark"] #user-name {
  color: #FFA726 !important;
}

html[data-theme="dark"] .user-info .user-photo {
  border-color: #FFA726;
} 

/* --- Melhorias UX/UI para seção Minhas Imagens WebP --- */
.user-images-panel {
  background: #181a1b !important;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(255, 167, 38, 0.10), 0 1.5px 6px rgba(0,0,0,0.10);
  padding: 36px 32px 32px 32px;
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.user-images-panel h2 {
  color: #FFA726;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-align: left;
  width: 100%;
}

.storage-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
  background: transparent;
  border: none;
  padding: 0;
}

.stat-item {
  background: rgba(255, 167, 38, 0.07);
  border: 1.5px solid #FFA72633;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0002;
  padding: 28px 36px 20px 36px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.stat-item:hover {
  box-shadow: 0 8px 32px #FFA72622, 0 1.5px 6px #0002;
  transform: translateY(-2px) scale(1.03);
}
.stat-item strong {
  font-size: 2.2rem;
  color: #FFA726;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.stat-item span {
  color: #bbb;
  font-size: 1.05rem;
  font-weight: 500;
}

.no-images {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.03) 0%, rgba(251, 140, 0, 0.02) 100%);
  border-radius: 16px;
  border: 2px dashed rgba(255, 167, 38, 0.2);
}

html[data-theme="dark"] .no-images {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.08) 0%, rgba(251, 140, 0, 0.05) 100%);
  border-color: rgba(255, 167, 38, 0.3);
}

.no-images .empty-icon {
  font-size: 4rem;
  color: #FFA726;
  margin-bottom: 8px;
  opacity: 0.6;
  filter: grayscale(20%);
}

.no-images p {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

html[data-theme="dark"] .no-images p {
  color: #ddd;
}

.no-images small {
  font-size: 1rem;
  opacity: 0.7;
  color: #666;
  line-height: 1.6;
}

html[data-theme="dark"] .no-images small {
  color: #999;
}

.user-images-panel > small {
  color: #888 !important;
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
  margin-top: 16px;
}

html[data-theme="dark"] .user-images-panel > small {
  color: #999 !important;
}

@media (max-width: 900px) {
  .user-images-panel {
    padding: 0;
  }
  .storage-stats {
    padding: 20px 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  
  .stat-item {
    padding: 16px 12px;
  }
  
  .stat-item strong {
    font-size: 1.6rem;
  }
  
  .user-images-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
  }
  
  .user-image-card img {
    height: 80px;
  }
} 

/* --- Nav-actions só no mobile dentro do menu --- */
@media (max-width: 900px) {
  .nav-actions {
    display: none !important;
  }
  .nav-links.open .nav-actions {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    align-items: stretch;
  }
}

/* === FAQ Section Styles === */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

/* === Benefits Highlight Section (OLD - pode ser removido) === */
.benefits-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 30px 0 40px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.1), rgba(251, 140, 0, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-color);
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .benefit-item {
  border-color: var(--border-color);
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.15);
  border-color: rgba(255, 167, 38, 0.3);
}

.benefit-item svg {
  flex-shrink: 0;
}

.benefit-item span {
  color: var(--text-secondary-color);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.benefit-item strong {
  color: var(--text-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .benefits-highlight {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    margin: 20px 0 30px;
  }
  
  .benefit-item {
    padding: 14px;
  }
}

/* === FAQ Section Styles === */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 40px;
  font-size: 2.2em;
  font-weight: 700;
}

.faq-item {
  background: var(--card-bg-color);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 167, 38, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px var(--shadow-color-light);
  transform: translateY(-2px);
}

.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.2em;
  font-weight: 600;
  margin: 0;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 167, 38, 0.1);
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.05), rgba(251, 140, 0, 0.05));
}

.faq-item h3:after {
  content: "▼";
  font-size: 0.8em;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.faq-item.active h3:after {
  transform: rotate(180deg);
}

.faq-item div[itemprop="text"] {
  padding: 0 24px 24px;
  color: var(--text-secondary-color);
  line-height: 1.6;
  font-size: 1em;
}

.faq-item div[itemprop="text"] p {
  margin: 0;
}

.faq-item div[itemtype="https://schema.org/Answer"] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active div[itemtype="https://schema.org/Answer"] {
  max-height: 300px;
}

/* FAQ Page Styles */
.faq-page {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
  padding-top: 24px;
}

.faq-header h1 {
  font-size: 2.5em;
  color: var(--text-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.faq-intro {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  margin: 0;
}

.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item h3 svg {
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
}

.faq-item div[itemprop="text"] ul,
.faq-item div[itemprop="text"] ol {
  margin: 16px 0;
  padding-left: 24px;
}

.faq-item div[itemprop="text"] li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.faq-item div[itemprop="text"] strong {
  color: var(--text-color);
  font-weight: 600;
}

.faq-item div[itemprop="text"] code {
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.steps-list {
  counter-reset: steps;
  list-style: none;
  padding-left: 0;
}

.steps-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
}

.steps-list li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  background: #FFA726;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 600;
}

.quality-guide,
.browser-support {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.quality-guide thead,
.browser-support thead {
  background: #f9fafb;
}

html[data-theme="dark"] .quality-guide thead,
html[data-theme="dark"] .browser-support thead {
  background: rgba(255,255,255,0.05);
}

.quality-guide th,
.browser-support th,
.quality-guide td,
.browser-support td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.quality-guide th,
.browser-support th {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95em;
}

.quality-guide td,
.browser-support td {
  color: var(--text-secondary-color);
}

.quality-guide tbody tr:last-child td,
.browser-support tbody tr:last-child td {
  border-bottom: none;
}

.cta-section {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  margin: 64px 0 32px;
  color: white;
}

.cta-section h2 {
  font-size: 2em;
  margin-bottom: 12px;
  color: white;
}

.cta-section p {
  font-size: 1.1em;
  margin-bottom: 24px;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #FB8C00;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* FAQ responsivo */
@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2em;
  }
  
  .faq-intro {
    font-size: 1.05em;
  }
  
  .faq-section {
    margin: 40px auto;
  }
  
  .faq-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .faq-item h3 {
    font-size: 1.05em;
    padding: 16px 20px;
  }
  
  .faq-item div[itemprop="text"] {
    padding: 0 20px 20px;
    font-size: 0.95em;
  }
  
  .quality-guide,
  .browser-support {
    font-size: 0.9em;
  }
  
  .quality-guide th,
  .browser-support th,
  .quality-guide td,
  .browser-support td {
    padding: 10px 12px;
  }
  
  .cta-section {
    padding: 36px 24px;
  }
  
  .cta-section h2 {
    font-size: 1.6em;
  }
  
  .cta-section p {
    font-size: 1em;
  }
} 