
/* ======================================================================
   Variables – Professional Bitcoin palette
   ====================================================================== */
:root {
  /* Refined Bitcoin colors */
  --primary: #F7931A;
  --primary-light: #FFB347;
  --primary-dark: #E6841A;
  --secondary: #2C3E50;
  --secondary-light: #34495E;
  --accent: #1A1A1A;
  --accent-light: #333333;

  /* Bitcoin-inspired gradients */
  --bg-gradient: linear-gradient(135deg, #FFF8E7 0%, #FFF3D3 50%, #FFECB3 100%);
  --card-gradient: linear-gradient(145deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.04) 100%);
  --button-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --hero-gradient: linear-gradient(135deg, rgba(247,147,26,0.15) 0%, rgba(247,147,26,0.08) 100%);

  /* Text colors */
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-light: #2C3E50;
  --text-muted: #7F8C8D;

  /* Shadows & effects */
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-button: 0 4px 15px rgba(247,147,26,0.4);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-small: 8px;
}

/* ======================================================================
   Global styles
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: 28px !important;
/*  background: var(--bg-gradient);
  background-attachment: fixed; */
}

/* ======================================================================
   Layout
   ====================================================================== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

/* ======================================================================
   Header
   ====================================================================== */
header {
  padding: 2rem 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  color: var(--text-primary);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-decoration: none;
}

.logo-symbol {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(247,147,26,0.5);
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}


/* Container Flexbox para alinhar o título e os símbolos */
.hero-title-with-symbols {
  display: flex;
  align-items: center; /* Alinha verticalmente os símbolos e o texto */
  justify-content: center; /* Centraliza todo o conjunto (símbolos + texto) */
  gap: 0.5em; /* Espaçamento entre os símbolos e o texto */
  
  /* Mantém o estilo original do h1, mas agora o font-size é para o TEXTO, não para os símbolos */
  font-size: clamp(2.5rem, 10vw, 5rem); 
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out 0.2s forwards;
  word-break: break-word;
  padding: 0 0.5em; /* Adiciona um pequeno padding para que os símbolos não "colem" nas bordas em telas pequenas */
}

/* Estilo para os símbolos do hero */
.hero-symbol {
  color: var(--primary); /* Usa a cor primária do Bitcoin */
  text-shadow: 0 0 20px rgba(247,147,26,0.5); /* Sombra para destacá-los */
  animation: float 3s ease-in-out infinite; /* Animação flutuante */
  display: inline-block; /* Garante que a animação funcione corretamente */
  
  /* Tamanho dos símbolos - ligeiramente maior que o texto principal */
  font-size: clamp(2.5rem, 10vw, 5rem); 
  line-height: 1; /* Para evitar problemas de alinhamento vertical com o texto */
}

/* ======================================================================
   Main Content
   ====================================================================== */
main {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}


/* ======================================================================
   MENU DROPDOWN ELEGANTE (IDIOMAS E NAVEGAÇÃO)
   ====================================================================== */
.language-dropdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(247,147,26,0.15);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.dropdown-wrapper {
    position: relative;
}

/* Botão Toggle (Sem borda, limpo) */
.lang-toggle-btn {
    background: none;
    border: none; /* Removida a borda */
    padding: 0.5rem 0.2rem; /* Padding ajustado */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.lang-toggle-btn:hover {
    color: var(--primary); /* Cor laranja no hover do botão principal */
}

/* Seta SVG */
.dropdown-chevron {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.lang-toggle-btn.open .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Menu Flutuante (Base) */
.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #FFFFFF;
    min-width: 200px;
    border-radius: 12px; /* Mais arredondado */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid rgba(247,147,26,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    padding: 0.5rem 0; /* Espaço interno no topo/fundo */
}

/* Variante para Menu à Direita (Hambúrguer) */
.custom-dropdown-menu.dropdown-right {
    left: auto;
    right: 0;
}

/* Estado Aberto */
.custom-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Itens do Menu */
.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* O texto dentro do link (para posicionar a linha) */
.dropdown-item span {
    position: relative;
    padding-bottom: 2px;
}

/* LINHA LARANJA ANIMADA */
.dropdown-item span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary); /* Laranja Bitcoin */
    transition: width 0.3s ease-out;
}

/* Hover: Texto muda de cor e linha cresce */
.dropdown-item:hover {
    color: var(--primary);
    background: rgba(247,147,26,0.03); /* Fundo muito sutil, opcional */
}

.dropdown-item:hover span::after {
    width: 100%; /* A linha percorre a palavra */
}

/* CORREÇÃO: Removemos a linha fixa "presa" */
.dropdown-item.active span::after {
    width: 0; /* Começa sem linha, igual aos outros */
    background-color: #E6841A;
}

/* A linha aparece apenas no HOVER (animação) */
.dropdown-item.active:hover span::after {
    width: 100%;
}

/* Botão Hambúrguer (Estilo ajustado) */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover span {
    background: var(--primary);
}

/* Animação do X no Hambúrguer */
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Regra para ocultar quando o modal abre */
body.modal-open .language-dropdown-container {
    display: none !important;
}


.hero {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 5;
  padding: 0 1rem;
  overflow: hidden; 
}


.hero-background {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--hero-gradient);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0;
  animation: heroGlow 2s ease-out 0.5s forwards;
}

.hero h1 {
  font-size: clamp(2rem, 10vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out 0.2s forwards;
  word-break: break-word;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--button-gradient);
  border-radius: 2px;
  opacity: 0;
  animation: slideUp 1s ease-out 0.8s forwards;
}

.hero .subheading {
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out 0.4s forwards;
  padding: 0 1rem;
  line-height: 1.5;
}

.purchase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out 0.3s forwards;
}

.check-instruction {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(247, 147, 26, 0.1);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-small);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}
/* ======================================================================
   Book Info Section
   ====================================================================== */
.book-info {
  background: var(--card-gradient);
  border: 1px solid rgba(247,147,26,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  /* ADICIONADO: Transição suave para o movimento */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.book-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px; /* Ajustado para 3px para ficar elegante */
  background: var(--button-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

/* ADICIONADO: O cartão sobe e a sombra aumenta */
.book-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: rgba(247,147,26,0.3);
}

.book-info:hover::before {
  transform: scaleX(1);
}

.book-cover {
  max-width: 200px;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-small);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;

  /* Sombra base inicial (suave e escura) */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  /* ADICIONADO: Transição suave idêntica à da página de contato */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2; /* Garante que fique acima de elementos decorativos */  
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 4s ease-in-out infinite;
}

/* --- NOVO: EFEITO AO PASSAR O MOUSE NO CARD --- */
/* Quando passar o mouse no card (.book-info), a capa (.book-cover) reage */
.book-info:hover .book-cover {
  /* 1. Zoom suave */
  transform: scale(1.08); 
  
  /* 2. Sombra fica alaranjada e mais forte */
  box-shadow: 0 20px 40px rgba(247,147,26,0.5); 
}

.book-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.book-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.book-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.book-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.book-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* ======================================================================
   Purchase Form Section
   ====================================================================== */
.purchase-form-section {
  background: var(--card-gradient);
  border: 1px solid rgba(247,147,26,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  height: fit-content;
  /* ADICIONADO: Transição suave para o movimento */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.purchase-form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--button-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

/* ADICIONADO: O cartão sobe e a sombra aumenta */
.purchase-form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: rgba(247,147,26,0.3);
}

.purchase-form-section:hover::before {
  transform: scaleX(1);
}

.price-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(247,147,26,0.05);
  border-radius: var(--radius-small);
  border: 1px solid rgba(247,147,26,0.1);
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.price {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.purchase-form input,
.purchase-form select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(247,147,26,0.2);
  border-radius: var(--radius-small);
  background: rgba(255,255,255,0.8);
  color: var(--text-primary);
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.purchase-form input::placeholder {
  color: var(--text-secondary);
}

.purchase-form input:focus,
.purchase-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.2);
  background: rgba(255,255,255,0.95);
}

.purchase-form button {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-small);
  background: var(--button-gradient);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-button);
}

.purchase-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,147,26,0.6);
}

.purchase-form button:active {
  transform: translateY(0);
}

.purchase-form button::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;
}

.purchase-form button:hover::before {
  left: 100%;
}

.security-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(247,147,26,0.05);
  border-radius: var(--radius-small);
  border-left: 4px solid var(--primary);
}

.security-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.security-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ======================================================================
   Back Button
   ====================================================================== */
.back-button {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--card-gradient);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: var(--radius-small);
    padding: 0.6rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-button:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.back-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* ======================================================================
   Cards "Por que escolher este livro" (Benefits)
   ====================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch; /* Garante mesma altura */
}

.benefit-card {
    position: relative;
    /* Mesmo fundo e borda dos outros cards */
    background: var(--card-gradient);
    border: 1px solid rgba(247,147,26,0.15);
    border-radius: 16px; /* var(--radius) */
    padding: 2rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    
    /* Transição suave igual aos outros */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    
    /* Flexbox para organizar ícone e texto */
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* LINHA LARANJA ANIMADA NO TOPO */
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--button-gradient);
    
    /* Começa invisível */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

/* --- EFEITOS DE HOVER --- */
.benefit-card:hover {
    transform: translateY(-5px); /* Sobe */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Sombra profunda */
    border-color: rgba(247,147,26,0.3);
}

.benefit-card:hover::before {
    transform: scaleX(1); /* Linha aparece */
}

/* Efeito de Zoom no Ícone (Emoji) */
.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* Estilos Internos */
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ======================================================================
   Footer
   ====================================================================== */
footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid rgba(247,147,26,0.2);
  margin-top: 4rem;
}

/* ======================================================================
   Bitcoin Payment Modal
   ====================================================================== */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.payment-modal.active {
  display: flex;
}

.payment-content {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-card);
  animation: slideUp 0.5s ease-out;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--primary);
}

.payment-header {
  text-align: center;
  margin-bottom: 2rem;
}

.payment-header h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.payment-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.qr-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card-gradient);
  border-radius: var(--radius-small);
  border: 1px solid rgba(247,147,26,0.15);
}

.qr-code {
  width: 200px;
  height: 200px;
  background: #FFFFFF;
  border: 2px solid var(--primary);
  border-radius: var(--radius-small);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow-soft);
}

.qr-code img {
    border-radius: var(--radius-small); /* Bordas arredondadas */
    background: #FFFFFF; /* Fundo branco */
    padding: 10px; /* Espaçamento interno */
    display: block;
    margin: 0 auto;
    width: 198px;
  height: 198px;
}

.bitcoin-address {
  background: rgba(247,147,26,0.05);
  border: 1px solid rgba(247,147,26,0.2);
  border-radius: var(--radius-small);
  padding: 1rem;
  margin: 1rem 0;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pix-address {
  background: rgba(247,147,26,0.05);
  border: 1px solid rgba(247,147,26,0.2);
  border-radius: var(--radius-small);
  padding: 1rem;
  margin: 1rem 0;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.copy-button {
  background: var(--button-gradient);
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.copy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247,147,26,0.4);
}

.timer-section {
  text-align: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(231, 76, 60, 0.1);
  border-radius: var(--radius-small);
  border-left: 4px solid #e74c3c;
}

.timer {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 0.5rem;
}

.timer-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.payment-instructions {
  background: rgba(247,147,26,0.05);
  border-radius: var(--radius-small);
  padding: 1.5rem;
  margin-top: 1rem;
}

.payment-instructions h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.payment-instructions ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.payment-instructions li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.feature {
  /* Cores e Bordas idênticas ao Contato/Compra */
  background: var(--card-gradient);
  border: 1px solid rgba(247,147,26,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  
  position: relative;
  overflow: hidden;
  
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;

  /* --- CORREÇÃO DO PULO --- */
  /* 1. Definimos o estado FINAL como o padrão */
  opacity: 1;
  transform: translateY(0);

  /* 2. A animação roda e usa 'backwards' para aplicar o 0% antes de começar */
  /* Removemos 'forwards' para que, ao acabar, o CSS assuma o controle */
  animation: slideUpFade 0.8s ease-out backwards;
  
  /* 3. Transição suave e lenta (0.5s) para o efeito de flutuar */
  transition: 
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
    border-color 0.5s ease;
}

/* Delays para efeito cascata */
.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.3s; }
.feature:nth-child(3) { animation-delay: 0.4s; }
.feature:nth-child(4) { animation-delay: 0.5s; }

/* A LINHA LARANJA */
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  height: 2px;
  background: var(--button-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

/* --- EFEITOS DE HOVER (FLUTUAR) --- */
.feature:hover {
  /* Agora o movimento será respeitado sem pular */
  transform: translateY(-8px); /* Sobe um pouco mais para destacar */
  
  /* Sombra difusa e elegante */
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  
  /* Borda destaca levemente */
  border-color: rgba(247,147,26,0.4);
}

/* Linha aparece */
.feature:hover::before {
  transform: scaleX(1);
}

/* Ícone aumenta suavemente */
.feature:hover .feature-icon {
    transform: scale(1.1);
}

/* --- Estilos Internos --- */
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(247,147,26,0.3));
  /* Transição sincronizada com o card */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}


/* Animação corrigida: define começo e fim explicitamente */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* TABELA 100% RESPONSIVA E LINDA NO CELULAR */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.table-compras {
    width: 100%;
    min-width: 800px; /* força o scroll horizontal no celular */
    border-collapse: collapse;
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
}

.table-compras th {
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.table-compras td {
    padding: 1rem;
    border-bottom: 1px solid rgba(247,147,26,0.15);
    font-size: 0.95rem;
}

.table-compras tr:hover {
    background: rgba(247,147,26,0.08);
}

/* RESPONSIVO NO CELULAR — TRANSFORMA EM CARTÕES 
@media (max-width: 768px) {
    .table-compras,
    .table-compras thead,
    .table-compras tbody,
    .table-compras th,
    .table-compras td,
    .table-compras tr {
        display: block;
    }
    
    .table-compras thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-compras tr {
        border: 1px solid rgba(247,147,26,0.2);
        border-radius: var(--radius);
        margin-bottom: 1rem;
        padding: 1rem;
        background: var(--card-gradient);
    }
    
    .table-compras td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    
    .table-compras td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        font-weight: 600;
        text-align: left;
        color: var(--primary);
    }
    
    .nome-cliente { font-weight: 700; font-size: 1.1rem; }
    .valor-destaque { 
        font-size: 1.3rem !important; 
        font-weight: 800; 
        color: var(--primary); 
    } 
} */
/* ======================================================================
   Animations
   ====================================================================== */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlow {
  to {
    opacity: 0.6;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Pulsar Animation for Timer */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px 5px rgba(231, 76, 60, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.timer-pulse {
  animation: pulse 1.5s ease-in-out infinite;
  background: rgba(231, 76, 60, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-small);
}

/* ======================================================================
   Responsive design
   ====================================================================== */
/*
@media (min-width: 992px) {
    .hamburger-btn { display: none; }
    .mobile-menu { display: none; }
} */

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
.hero { margin-bottom: 3rem; padding: 0 0.5rem; }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .hero .subheading {
    font-size: clamp(0.95rem, 5vw, 1.2rem);
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .hero-title-with-symbols {
    flex-wrap: wrap; /* Permite que os símbolos quebrem a linha se a tela for muito estreita */
    gap: 0.25em; /* Reduz o espaçamento em telas menores */
    font-size: clamp(1.8rem, 8vw, 3rem); /* Ajuste o tamanho do texto do h1 */
  }

  .hero-symbol {
    font-size: clamp(2rem, 10vw, 4rem); /* Ajuste o tamanho dos símbolos */
  }
 .hero-symbol.right { 
    display: flex; 
  }

  .purchase-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .book-cover {
  max-width: 200px;
  width: 100%;
  height: auto;
    font-size: 3rem;
  }

  .book-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .price {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  #brlPrice {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  
  #usdPrice {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  /* Bitcoin Modal Responsive */
  .payment-content {
    padding: 1.5rem;
    width: 95%;
  }

   .qr-code {
    width: 160px;
    height: 160px;
    font-size: 2rem;
  }
  .qr-code img {
    width: 158px;
    height: 158px;
    font-size: 2.5rem;
  }

  .bitcoin-address {
    font-size: 0.75rem;
  }

  .pix-address {
    font-size: 0.75rem;
  }
    .lang-options {
        gap: 1.2rem;
        font-size: 0.88rem;
    }
    body { padding-top: 76px !important; }

    /* Mobile only */



}

@media (max-width: 480px) {

  .hero { padding: 0 0.25rem; }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.2;
  }

  .hero .subheading {
    font-size: clamp(0.9rem, 6vw, 1.1rem);
    padding: 0 0.25rem;
    line-height: 1.4;
  }
  .hero-title-with-symbols {
    flex-direction: inline; /* Empilha os símbolos e o texto em coluna */
    gap: 0.1em; /* Espaçamento mínimo quando empilhado */
    padding: 0 0.2em;
    font-size: clamp(2rem, 6vw, 3rem); /* Ajuste ainda mais o texto do h1 */
  }
  
  .hero-symbol {
    font-size: clamp(2rem, 6vw, 3rem); /* Ajuste ainda mais os símbolos */
  }
  /* Oculta um dos símbolos em telas muito pequenas para evitar poluição visual
     OU se preferir, pode ajustar o tamanho para que caibam */
  .hero-symbol.right { 
    display: flex; 
  }
  .hero-symbol.left {
    /*display: none;*/ 
    margin-bottom: -0.2em; /* Pequeno ajuste para o símbolo superior */
  }
  .book-info,
  .purchase-form-section {
    padding: 1.5rem;
  }

  .book-cover {
  max-width: 180px;
  width: 100%;
  height: auto;
    font-size: 2.5rem;
  }

  .price-section {
    padding: 1rem;
  }

  /* Bitcoin Modal Mobile */
  .payment-content {
    padding: 1rem;
    width: 98%;
  }

 .qr-code {
    width: 140px;
    height: 140px;
    font-size: 2rem;
  }

  .qr-code img {
    width: 138px;
    height: 138px;
    font-size: 2rem;
  }

  .payment-instructions {
    padding: 1rem;
  }

  .payment-instructions ol {
    padding-left: 1rem;
  }
}

/* ======================================================================
   Accessibility improvements
   ====================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .timer-pulse {
  animation: none;
  background: rgba(231, 76, 60, 0.3); /* Fallback to static highlight */
}
}



/* Visually hidden helper */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ======================================================================
   Controle de Visibilidade do Modal vs Menu
   ====================================================================== */
/* Quando a classe 'modal-open' estiver no body, oculta a barra de idiomas */
body.modal-open .language-switcher {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none; /* Garante que não seja clicável mesmo se invisível */
}

/* Opcional: Aumentar o z-index do modal para garantir que ele fique acima de tudo */
.payment-modal {
    z-index: 10000 !important; /* Valor maior que o 9999 do language-switcher */
}




.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
  
    overflow: hidden;

    
    background-color: transparent; /* Fundo transparente */
    color: inherit;               /* Herda a cor do corpo da página (body) */
    border: none;                 /* Remove bordas */
    box-shadow: none;             /* Remove sombra */
    /* ---------------------------------------------------- */
}


/* CONTAINER: Define a área e anula qualquer fundo interno */
.btc-ticker-container {
    flex-grow: 1; 
    margin: 0 20px;
    max-width: 600px; 
    height: 100%;
    
    /* ESSENCIAL: Garante que o fundo da navbar (#1a1a2e) apareça */
    background-color: transparent !important; 
    
    overflow: hidden; 
    display: flex;
    align-items: center;
}

/* O TEXTO QUE ROLA: Garante a cor branca e remove estilos fixos */
.btc-ticker {
    white-space: nowrap; 
    animation: marquee 15s linear infinite; 
    padding-right: 100%; 
    display: flex;
    gap: 40px;
    
    /* Herda a cor branca (#fff) da .navbar */
    color: inherit; 
    
    font-size: 1em; 
    font-weight: 600; 
    
    /* Regra de segurança contra sombreamentos indesejados */
    text-shadow: none !important;
}

/* Keyframes para a animação de rolagem (Marquee) */
@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, 0); } 
}

/* ITENS INDIVIDUAIS: Regra de segurança para transparência */
.ticker-item {
    background-color: transparent !important; 
    padding: 3px 0; 
}



        .login-container {
            background: var(--card-gradient);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(247,147,26,0.2);
            border-radius: var(--radius);
            padding: 3rem 2.5rem;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.4);
            animation: floatIn 1s ease-out;
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 4px;
            background: var(--button-gradient);
        }

        @keyframes floatIn {
            0% { opacity: 0; transform: translateY(40px) scale(0.95); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .login-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .login-header h1 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            margin: 0 0 0.5rem;
        }

        .login-header p {
            color: var(--text-secondary);
            font-size: 1rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.6rem;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 1rem 1.2rem;
            border: 1px solid rgba(247,147,26,0.3);
            border-radius: var(--radius-small);
            background: rgba(255,255,255,0.08);
            color: white;
            font-size: 1rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(247,147,26,0.2);
            transform: scale(1.02);
        }

        .btn-login {
            width: 100%;
            padding: 1.1rem;
            background: var(--button-gradient);
            color: white;
            border: none;
            border-radius: var(--radius-small);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s ease;
            margin-top: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-login:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(247,147,26,0.3);
        }

        .erro {
            background: rgba(239,68,68,0.15);
            color: #fca5a5;
            padding: 1rem;
            border-radius: var(--radius-small);
            border-left: 4px solid #ef4444;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            text-align: center;
        }

        .logo-login {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            box-shadow: 0 10px 30px rgba(247,147,26,0.3);
        }

.logout-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-logout {
    background: rgba(247, 147, 26, 0.12);           /* fundo laranja bem suave */
    color: #f7931a;                                 /* laranja principal */
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-small);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.1);
}

.btn-logout:hover {
    background: rgba(247, 147, 26, 0.22);
    color: #ffffff;
    border-color: #f7931a;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(247, 147, 26, 0.25);
}

.btn-logout:active {
    transform: translateY(-1px);
}

.logout-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(247,147,26,0.3));
}

/* Responsivo */
@media (max-width: 768px) {
    .logout-wrapper {
        top: 15px;
        right: 15px;
    }
    .btn-logout {
        padding: 0.7rem 1.1rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
}    