* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================
   VARIÁVEIS
========================== */
:root {
  --bg-dark: #0a0a0a;
  --gray: #bfbfbf;
  --gray-dark: #1b1b1b;
  --gray-light: #e0e0e0;
  --white: #fff;
  --red: #ff4040; /* Mantido */
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  backdrop-filter: blur(8px);
  z-index: 100;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar nav a {
  color: var(--white);
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--gray-light);
}

.btn-login {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--white);
  color: #000 !important;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-login:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}

/* ==========================
   HERO SECTION (PRINCIPAL)
========================== */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background: var(--gray-dark);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray);
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: #000;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--gray-light);
  transform: scale(1.05);
}

/* ==========================
   SEÇÕES SECUNDÁRIAS
========================== */
.section {
  padding: 120px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: none;
  border-radius: 0;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gray-light);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.section li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--gray);
  transition: transform 0.3s ease, color 0.3s ease;
}

.section li i {
  font-size: 2rem;
  color: var(--white);
  transition: transform 0.3s ease, color 0.3s ease;
}

.section li:hover {
  transform: translateY(-5px);
  color: var(--gray-light);
}

.section li:hover i {
  transform: scale(1.2);
  color: var(--gray);
}

/* ==========================
   FORMULÁRIOS / CARDS
========================== */
.container {
  max-width: 400px;
  width: 90%;
  margin: 120px auto;
}

.card {
  background: var(--gray-dark);
  padding: 25px;
  margin: 15px 0;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255,255,255,0.12);
}

input, select, textarea, button {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
}

input, select, textarea {
  background: var(--gray-dark);
  color: var(--white);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

button {
  background: var(--white);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}

.btn-logout {
  background: #ff4040;
  color: #fff;
  width: auto;
  padding: 6px 14px;
  border-radius: 8px;
}

.btn-logout:hover {
  background: #cc2e2e;
}

/* ==========================
   LISTA DE TRANSAÇÕES
========================== */
#transactions {
  list-style: none;
  padding: 0;
}

#transactions li {
  background: var(--gray-dark);
  margin: 5px 0;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================
   CARDS SEÇÃO SOBRE
========================== */
.sobre-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card-sobre {
  background: var(--gray-dark);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.card-sobre.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-sobre i {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.card-sobre h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.card-sobre p {
  color: var(--gray);
  font-size: 1rem;
}

.card-sobre:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.card-sobre:hover i {
  transform: scale(1.2);
  color: var(--gray-light);
}

/* ==========================
   RESPONSIVIDADE COMPLETA
========================== */
@media (max-width: 1024px) {
  .navbar { padding: 10px 20px; }
  .navbar nav a { margin-left: 15px; font-size: 0.95rem; }
  .hero h2 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .section { padding: 80px 15px; }
}

@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 10px; padding: 10px 15px; text-align: center; }
  .navbar nav a { margin-left: 0; display: block; margin: 5px 0; }
  .hero h2 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .btn-primary { padding: 12px 20px; font-size: 1rem; }
  .section ul { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .card { padding: 20px; }
  input, select, textarea, button { font-size: 0.9rem; }
  .navbar .logo { font-size: 1.2rem; }
}

/* ==========================
   Balão de suporte rápido
========================== */
.support-bubble {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 200;
  opacity: 0;
  transform: translateY(40px);
  animation: bubbleFadeIn 0.6s ease forwards 0.8s;
}

@keyframes bubbleFadeIn { to { opacity: 1; transform: translateY(0); } }

.bubble-btn {
  background: var(--white);
  color: #000;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(255,255,255,0.15);
  cursor: pointer;
  animation: pulse 1.8s infinite;
  transition: transform 0.3s ease;
}

.bubble-btn:hover { transform: scale(1.1); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.15); }
  70% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.bubble-options {
  display: none;
  flex-direction: column;
  margin-top: 10px;
  background: var(--gray-dark);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.support-bubble.open .bubble-options { display: flex; opacity: 1; transform: scale(1); }

.bubble-options a {
  color: var(--white);
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.bubble-options a:hover { background: var(--gray-dark); color: var(--gray-light); }

/* ==========================
   Chat flutuante
========================== */
.chat-box {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 280px;
  background: var(--gray-dark);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 300;
  animation: chatOpen 0.3s ease;
}
.chat-box.show { display: flex; }

@keyframes chatOpen { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.chat-header {
  background: var(--white);
  color: #000;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.chat-header button {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
}

.chat-body {
  max-height: 180px;
  overflow-y: auto;
  padding: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ==========================
   Chat Footer - input e botão abaixo
========================== */
.chat-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-top: 1px solid #222;
}

.chat-footer input {
  width: 100%;
  background: var(--gray-dark);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 8px;
}

.chat-footer input::placeholder {
  color: var(--gray);
  font-weight: 500;
}

.chat-footer input:focus {
  box-shadow: 0 0 8px var(--white);
}

.chat-footer button {
  width: 100%;
  margin-top: 5px;
  background: var(--white);
  color: black;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.chat-footer button:hover { background: var(--gray-light); transform: translateY(-1px); }

/* ==========================
   FAQ MODAL
========================== */
.faq-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(5px); 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.faq-modal.active { opacity: 1; pointer-events: auto; }

.faq-content {
  background: var(--gray-dark);
  color: var(--white);
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.faq-header h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.faq-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  margin: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-close i {
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.faq-close:hover i {
  color: var(--white);
  transform: scale(1.15);
}

.faq-content h2 { text-align: left; margin-bottom: 0; }

.faq-content ul { margin: 15px 0; padding-left: 20px; }

.faq-content li { margin-bottom: 8px; line-height: 1.4; }

/* Animações */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }





.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}

.logo-img {
  width: 40px;  
  height: 40px;
  object-fit: contain;
}
