/* RESET E GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0B0E11;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Garantir consistência independente do zoom */
  zoom: 1;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* BACKGROUND */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 14, 17, 0.8) 0%, rgba(24, 26, 32, 0.8) 50%, rgba(11, 14, 17, 0.8) 100%);
  opacity: 0.3;
  z-index: -2;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0B0E11 0%, #181A20 50%, #0B0E11 100%);
  z-index: -1;
}

/* HEADER - Estilos movidos para index-header.css para evitar conflitos */

/* MARKET INDICATORS - NOVO DESIGN FINO E ELEGANTE */
.market-indicators {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(11, 14, 17, 0.95) 0%, rgba(20, 25, 30, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(240, 185, 11, 0.15);
  z-index: 100;
  height: 40px; /* Altura fixa e fina */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.indicators-scroll {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.indicators-track {
  display: flex;
  animation: scrollIndicators 60s linear infinite;
  width: max-content;
  will-change: transform;
  align-items: center;
  height: 100%;
}

@keyframes scrollIndicators {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Efeito de brilho nos indicadores */
.indicator-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.indicator-item:hover::before {
  left: 100%;
}

/* Destaque especial para ações */
.indicator-item[data-indicator="petr4"],
.indicator-item[data-indicator="vale3"],
.indicator-item[data-indicator="itub4"],
.indicator-item[data-indicator="bbas3"],
.indicator-item[data-indicator="b3sa3"] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.indicator-item[data-indicator="petr4"]:hover,
.indicator-item[data-indicator="vale3"]:hover,
.indicator-item[data-indicator="itub4"]:hover,
.indicator-item[data-indicator="bbas3"]:hover,
.indicator-item[data-indicator="b3sa3"]:hover {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.18) 0%, rgba(240, 185, 11, 0.08) 50%, rgba(240, 185, 11, 0.12) 100%);
  border-color: rgba(240, 185, 11, 0.5);
}

.indicators-track:hover {
  animation-play-state: paused;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 32px; /* Altura fixa para caber no container */
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(5px);
}

.indicator-item:hover {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.15) 0%, rgba(240, 185, 11, 0.05) 100%);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.25);
  border-color: rgba(240, 185, 11, 0.4);
}

.indicator-item.updating {
  animation: pulse 0.6s ease-in-out;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(240, 185, 11, 0.05) 50%, rgba(240, 185, 11, 0.08) 100%);
  border-color: rgba(240, 185, 11, 0.3);
  box-shadow: 0 0 15px rgba(240, 185, 11, 0.2);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.indicator-label {
  font-size: 10px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.indicator-value {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
}

.indicator-change {
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.indicator-change.positive {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.indicator-change.negative {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.indicator-change.neutral {
  color: #a0a0a0;
  background: rgba(160, 160, 160, 0.1);
  border: 1px solid rgba(160, 160, 160, 0.2);
}

/* Estilos para os ícones dos indicadores */
.indicator-icon {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Estilos específicos para ícones de imagem (ações) */
.indicator-item img.indicator-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 2px;
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.indicator-item:hover img.indicator-icon {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.indicator-change.updating {
  animation: slideIn 0.4s ease-in-out;
  transform: scale(1.05);
}

@keyframes slideIn {
  0% { transform: translateY(-5px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Efeito de loading para indicadores */
.indicator-item.loading {
  position: relative;
  overflow: hidden;
}

.indicator-item.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.15), transparent);
  animation: loading 2s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* MAIN CONTENT */
.main-content {
  margin-top: 120px; /* Ajustado para header (70px) + market-indicators (40px) + espaçamento (10px) */
  min-height: calc(100vh - 120px);
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

/* HERO SECTION */
.hero-section {
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 16px;
}

.badge-text {
  font-size: 14px;
  font-weight: 500;
  color: #F0B90B;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.highlight {
  color: #F0B90B;
}

.hero-description {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-primary {
  background: #F0B90B;
  color: #0B0E11;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-primary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-secondary:hover {
  border-color: #F0B90B;
  color: #F0B90B;
  transform: translateY(-2px);
}

.trust-indicators {
  display: flex;
  gap: 32px;
}

.indicator {
  text-align: center;
}

.indicator-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #F0B90B;
  margin-bottom: 4px;
}

.indicator-label {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* MARKET SECTION */
.market-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  max-height: 500px;
  overflow-y: hidden;
  position: relative;
  z-index: 10; /* Garantir que fique acima de outros elementos */
  margin-top: 10px; /* Espaçamento adicional para evitar sobreposição */
}

.market-header {
  margin-bottom: 16px;
}

.market-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.market-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: 500;
}

.tab.active,
.tab:hover {
  background: #F0B90B;
  color: #0B0E11;
  border-color: #F0B90B;
}

/* Market Indicators Section */
.market-indicators-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.indicator-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.indicator-icon {
  font-size: 20px;
  color: #F0B90B;
}

.indicator-info {
  display: flex;
  flex-direction: column;
}

.indicator-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.indicator-value {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.market-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  display: none;
}

.market-list.active {
  display: flex;
}

.market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.market-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 185, 11, 0.3);
  transform: translateY(-2px);
}

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

.asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
}

/* Novos ícones baseados na B3 */
.asset-icon.petr4 { background: linear-gradient(135deg, #2ed573, #1e8449); }
.asset-icon.itsa4 { background: linear-gradient(135deg, #3742fa, #2f3542); }
.asset-icon.bbas3 { background: linear-gradient(135deg, #ffa502, #ff6348); }
.asset-icon.cogn3 { background: linear-gradient(135deg, #9c88ff, #8c7ae6); }
.asset-icon.vale3 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.asset-icon.b3sa3 { background: linear-gradient(135deg, #00d2d3, #54a0ff); }
.asset-icon.itub4 { background: linear-gradient(135deg, #ff9ff3, #f368e0); }

.asset-details {
  display: flex;
  flex-direction: column;
}

.asset-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.asset-description {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.asset-price {
  text-align: right;
}

.price {
  display: block;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 2px;
}

.change {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.change.positive {
  color: #2ed573;
}

.change.negative {
  color: #ff4757;
}

.market-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.market-note {
  color: #888;
  font-size: 12px;
  font-style: italic;
  margin: 0;
}

.view-all {
  color: #F0B90B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #e0a800;
}

/* FEATURES SECTION */
.features-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #ffffff;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 185, 11, 0.3);
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.feature-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* PRODUCTS SECTION */
.products-section {
  padding: 80px 0;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #ffffff;
}

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

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 185, 11, 0.3);
  transform: translateY(-8px);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.product-card p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-link {
  color: #F0B90B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: #e0a800;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 185, 11, 0.3);
  transform: translateY(-8px);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: rgba(240, 185, 11, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
}

.author-title {
  font-size: 14px;
  color: #888;
}

/* FOOTER */
.footer {
  background: rgba(11, 14, 17, 0.95);
  border-top: 1px solid rgba(240, 185, 11, 0.1);
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #F0B90B;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(240, 185, 11, 0.3);
}

.footer-description {
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.6;
  margin-left: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #F0B90B;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

.footer-link {
  display: block;
  color: #cccccc;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #F0B90B;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #888;
  font-size: 14px;
}

.footer-credits {
  color: #F0B90B !important;
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

/* Responsividade para o footer logo */
@media (max-width: 768px) {
  .footer-logo-section {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .footer-logo-text {
    font-size: 22px;
  }
  
  .footer-description {
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-logo-text {
    font-size: 20px;
  }
  
  .footer-logo {
    width: 50px;
    height: 50px;
  }
  
  .footer-description {
    font-size: 14px;
  }
}

.legal-link {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #F0B90B;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Garantir que os modais funcionem corretamente */
.modal.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, #181A20 0%, #1a1f2e 100%);
  margin: auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  min-width: 300px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(240, 185, 11, 0.1);
  position: relative;
  color: #ffffff;
  border: 1px solid rgba(240, 185, 11, 0.15);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(0);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.modal-header {
  text-align: center;
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid rgba(240, 185, 11, 0.15);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, rgba(240, 185, 11, 0.02) 100%);
  border-radius: 12px 12px 0 0;
}

.modal-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
  transition: transform 0.3s ease;
}

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

.modal-header h2 {
  color: #F0B90B;
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
  width: 100%;
}

.modal-subtitle {
  color: #B7BDC6;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  flex-shrink: 0;
  width: 100%;
}

.close-button {
  color: #B7BDC6;
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.close-button:hover,
.close-button:focus {
  color: #F0B90B;
  text-decoration: none;
  background: rgba(240, 185, 11, 0.1);
  transform: scale(1.1);
}

.modal-content form {
  padding: 12px 20px 20px 20px;
  position: relative;
  z-index: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 12px;
  position: relative;
  flex-shrink: 0;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #ffffff;
  font-size: 13px;
  text-align: left;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: block;
  height: 36px;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus {
  border-color: #F0B90B;
  background-color: rgba(240, 185, 11, 0.08);
  outline: none;
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
}

.form-group input.error {
  border-color: #ff4757;
  background-color: rgba(255, 71, 87, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

.error-message {
  display: block;
  color: #ff4757;
  font-size: 11px;
  margin-top: 3px;
  min-height: 14px;
  font-weight: 500;
}

.btn-submit {
  background: linear-gradient(135deg, #F0B90B 0%, #f39c12 100%);
  color: #000;
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  width: auto;
  min-width: 100px;
  max-width: 180px;
  transition: all 0.3s ease;
  margin: 4px auto 0 auto;
  display: block;
  box-sizing: border-box;
  flex-shrink: 0;
  height: 32px;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(240, 185, 11, 0.4);
  background: linear-gradient(135deg, #f39c12 0%, #F0B90B 100%);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Linha de botões principais */
.modal-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  justify-content: center;
  align-items: center;
}

.modal-buttons-row .btn-submit {
  flex: 1;
  margin: 0;
}

.modal-buttons-row .btn-open-account {
  flex: 1;
  margin: 0;
}

/* Ações do modal */
.modal-actions {
  margin-top: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.forgot-password-link {
  color: #B7BDC6;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.forgot-password-link:hover {
  color: #F0B90B;
  text-decoration: underline;
}

.back-to-login-link {
  color: #B7BDC6;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.back-to-login-link:hover {
  color: #F0B90B;
  text-decoration: underline;
}

/* Estilos para modal de recuperação de senha (idêntico ao dashboard) */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  padding: 8px 40px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 14px;
  height: 36px;
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  right: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #bbb;
  transition: color 0.3s ease;
  z-index: 10;
}

.password-toggle:hover {
  color: #F0B90B;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.btn-secondary {
  background: transparent;
  color: #B7BDC6;
  border: 1px solid rgba(183, 189, 198, 0.3);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 32px;
  min-width: 100px;
  max-width: 150px;
  flex: 1;
}

.btn-secondary:hover {
  background: rgba(183, 189, 198, 0.1);
  border-color: rgba(183, 189, 198, 0.5);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, #F0B90B 0%, #f39c12 100%);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 32px;
  min-width: 100px;
  max-width: 150px;
  flex: 1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(240, 185, 11, 0.4);
  background: linear-gradient(135deg, #f39c12 0%, #F0B90B 100%);
}

.btn-primary:disabled {
  background: #6c757d;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.btn-primary:disabled:hover {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

.feedback-message {
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.feedback-message.success {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
  display: block;
}

.feedback-message.error {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  display: block;
}


.btn-open-account {
  background: transparent;
  color: #F0B90B;
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 100px;
  max-width: 180px;
  height: 32px;
  display: block;
  box-sizing: border-box;
}

.btn-open-account:hover {
  background: rgba(240, 185, 11, 0.1);
  border-color: rgba(240, 185, 11, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(240, 185, 11, 0.2);
}

.btn-open-account:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.15);
}

/* Garantir que os modais funcionem corretamente em todas as telas */
@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 2% auto;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 12px 16px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content form {
    padding: 10px 14px 14px 14px;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
  
  .modal-logo {
    width: 45px;
    height: 45px;
  }
  
  .btn-submit {
    height: 34px;
    font-size: 13px;
    padding: 7px 16px;
    min-width: 100px;
    max-width: 180px;
  }
  
  .form-group input {
    height: 32px;
    font-size: 13px;
  }
  
  .modal-buttons-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .modal-buttons-row .btn-submit,
  .modal-buttons-row .btn-open-account {
    width: 100%;
    height: 30px;
    font-size: 12px;
    padding: 5px 12px;
  }
  
  .modal-actions {
    margin-top: 10px;
    gap: 6px;
  }
  
  .forgot-password-link {
    font-size: 11px;
  }
}

/* ÍCONES DOS CAMPOS */
.field-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #F0B90B;
  vertical-align: middle;
}

.form-group label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ffffff;
}

/* BARRA DE FORÇA DA SENHA */
.password-strength {
  margin-top: 8px;
  margin-bottom: 8px;
}

.strength-bar {
  width: 100%;
  height: 4px;
  background-color: #2A2D35;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-text {
  font-size: 12px;
  color: #8B949E;
}

/* Classes de força da senha */
.strength-weak .strength-fill {
  width: 33%;
  background-color: #ff4757;
}

.strength-medium .strength-fill {
  width: 66%;
  background-color: #ffa502;
}

.strength-strong .strength-fill {
  width: 100%;
  background-color: #2ed573;
}

.strength-weak .strength-text {
  color: #ff4757;
}

.strength-medium .strength-text {
  color: #ffa502;
}

.strength-strong .strength-text {
  color: #2ed573;
}

/* WELCOME MODAL */
.welcome-modal {
  text-align: center;
}

.welcome-content {
  padding: 40px;
}

.welcome-content p {
  color: #cccccc;
  font-size: 18px;
  line-height: 1.6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .features-grid,
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Ajustes para diferentes resoluções de desktop */
@media (min-width: 1025px) and (max-width: 1199px) {
  .main-content {
    margin-top: 120px;
  }
  
  .content-container {
    max-width: 1200px;
  }
}

/* Ajustes para tablets em landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-content {
    margin-top: 120px;
  }
  
  .market-indicators {
    height: 40px;
  }
  
  .content-container {
    padding: 0 15px;
  }
}

/* Ajuste específico para telas de 100% */
@media (min-width: 1200px) and (max-width: 1400px) {
  .main-content {
    margin-top: 120px; /* Ajuste fino para telas de 100% */
  }
}

/* Ajuste para telas muito grandes */
@media (min-width: 1400px) {
  .main-content {
    margin-top: 120px; /* Consistência em telas grandes */
  }
  
  .content-container {
    max-width: 1600px; /* Permitir mais espaço em telas grandes */
  }
}

@media (max-width: 768px) {
  /* Header responsivo styles moved to index-header.css */
  
  .main-content {
    margin-top: 110px; /* Ajustado para header mobile (60px) + market-indicators (40px) + espaçamento (10px) */
  }
  
  .market-indicators {
    top: 60px; /* Ajustado para ficar logo abaixo do header mobile de 60px */
    height: 40px; /* Altura consistente em mobile */
  }
  
  .indicators-track {
    animation-duration: 30s;
  }
  
  .indicator-item {
    height: 28px;
    padding: 0 10px;
    margin: 0 2px;
    gap: 4px;
  }
  
  .indicator-icon {
    font-size: 12px;
    width: 14px;
    height: 14px;
  }
  
  .indicator-item img.indicator-icon {
    width: 14px;
    height: 14px;
  }
  
  .indicator-label {
    font-size: 9px;
  }
  
  .indicator-value {
    font-size: 11px;
  }
  
  .indicator-change {
    font-size: 10px;
    padding: 1px 4px;
  }
  
  .indicators-container {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .trust-indicators {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 85vh;
  }
  
  .modal-header,
  .modal-footer {
    padding: 20px;
  }
  
  .modal-header {
    padding: 20px 20px 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content form {
    padding: 15px 20px 20px 20px;
  }
  
  /* Market section responsive */
  .market-indicators-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .market-tabs {
    flex-wrap: wrap;
  }
  
  .tab {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .features-title,
  .products-title,
  .testimonials-title {
    font-size: 28px;
  }
  
  .market-section {
    padding: 20px;
  }
  
  .feature-card,
  .product-card,
  .testimonial-card {
    padding: 20px;
  }
}

/* Estilos para os logos dos ativos */
.asset-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  max-width: 100%;
  max-height: 100%;
}

.asset-logo-small {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  max-width: 100%;
  max-height: 100%;
}

.indicator-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

/* Ajustar espaçamento dos indicadores com logos */
.indicator-item[data-indicator="petr4"],
.indicator-item[data-indicator="vale3"],
.indicator-item[data-indicator="itub4"],
.indicator-item[data-indicator="bbas3"],
.indicator-item[data-indicator="b3sa3"] {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ajustar espaçamento dos itens de mercado com logos */
.market-item .asset-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  margin-right: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Garantir que os logos sejam visíveis */
.asset-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Remover filtros que podem estar causando problemas */
.asset-icon img {
  filter: none;
}

/* Debug: forçar visibilidade dos logos */
.asset-icon img.asset-logo {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Fallback para ícones sem imagem */
.asset-icon:empty::before,
.asset-icon:not(:has(img))::before {
  content: attr(data-fallback);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
}

/* Garantir que os ícones sejam visíveis em todas as abas */
.market-list .asset-icon img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Estilos específicos para cada tipo de ativo */
.asset-icon.petr4 img {
  background: linear-gradient(135deg, #2ed573, #1e8449);
  border-radius: 4px;
}

.asset-icon.itsa4 img {
  background: linear-gradient(135deg, #3742fa, #2f3542);
  border-radius: 4px;
}

.asset-icon.bbas3 img {
  background: linear-gradient(135deg, #ffa502, #ff6348);
  border-radius: 4px;
}

.asset-icon.cogn3 img {
  background: linear-gradient(135deg, #9c88ff, #8c7ae6);
  border-radius: 4px;
}

.asset-icon.vale3 img {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 4px;
}

.asset-icon.b3sa3 img {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
  border-radius: 4px;
}

.asset-icon.itub4 img {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
  border-radius: 4px;
}

/* ===== CORREÇÕES PARA ZOOM E RESPONSIVIDADE ===== */

/* Garantir que o layout seja consistente independente do zoom */
@media screen and (min-resolution: 1dppx) {
  .main-content {
    margin-top: 120px;
  }
  
  .market-indicators {
    height: 40px;
  }
}

/* Ajustes para diferentes níveis de zoom */
@media screen and (min-resolution: 1.25dppx) {
  .main-content {
    margin-top: 125px;
  }
}

@media screen and (min-resolution: 1.5dppx) {
  .main-content {
    margin-top: 130px;
  }
}

/* Garantir que elementos fixos mantenham posicionamento correto */
.market-indicators {
  position: fixed !important;
  top: 70px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
}

/* Ajustes para telas de alta resolução */
@media screen and (min-width: 1920px) {
  .content-container {
    max-width: 1800px;
  }
  
  .main-content {
    margin-top: 120px;
  }
}

/* Ajustes para telas de baixa resolução */
@media screen and (max-width: 1366px) {
  .content-container {
    max-width: 1200px;
  }
  
  .main-content {
    margin-top: 120px;
  }
}

/* Garantir que o market-section não seja coberto */
.market-section {
  position: relative !important;
  z-index: 10 !important;
  margin-top: 15px !important;
}

/* Ajustes específicos para diferentes breakpoints */
@media (min-width: 1200px) and (max-width: 1440px) {
  .main-content {
    margin-top: 120px;
  }
  
  .market-indicators {
    height: 40px;
  }
}

@media (min-width: 1441px) and (max-width: 1680px) {
  .main-content {
    margin-top: 120px;
  }
  
  .content-container {
    max-width: 1500px;
  }
}

@media (min-width: 1681px) {
  .main-content {
    margin-top: 120px;
  }
  
  .content-container {
    max-width: 1700px;
  }
}

