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

body {
  margin: 0;
  background: radial-gradient(circle at top, #0a0a0f 0%, #000 100%);
  color: #e5e7eb;
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== TOPBAR ===== */
.topbar {
  background: #f97316;
  /* Laranja sólido */
  padding: 14px 26px;
  display: flex;
  align-items: center;

  /* Glow suave embaixo */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.logo-img {
  height: 55px;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

/* ===== HOME ===== */
.home-container {
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 80px 40px;
  flex-wrap: wrap;
  flex: 1;
  /* Empurra o footer para baixo */
}

/* ===== LEFT ZONE ===== */
.left-zone {
  max-width: 420px;
  animation: fadeUp 0.9s ease-out forwards;
  opacity: 0;
}

.left-zone h1 {
  font-size: 36px;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.4);
}

.highlight {
  color: #f97316;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.description {
  opacity: 0.85;
  font-size: 16px;
  margin-top: 10px;
}

.benefits {
  margin-top: 20px;
  list-style: none;
  opacity: 0.9;
}

.benefits li {
  margin-bottom: 10px;
  font-size: 15px;
  padding-left: 5px;
}

/* ===== RIGHT ZONE / CARD ===== */
.right-zone {
  max-width: 420px;
  width: 100%;
  animation: fadeUp 1.1s ease-out forwards;
  opacity: 0;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  padding: 35px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.25);
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.45);
  transform: translateY(-4px);
}

.card h2 {
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* ===== INPUTS / TEXTAREA / SELECT ===== */
.input-wrapper {
  position: relative;
  width: 100%;
}

.textarea,
.result-input,
select.textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  resize: vertical;
  font-size: 15px;
  outline: none;
  transition: 0.25s;
}

/* Ajuste para o botão dentro do input */
.textarea {
  padding-right: 40px;
  /* Espaço para o botão */
}

select.textarea {
  cursor: pointer;
  appearance: none;
  /* Remove seta padrão em alguns browsers */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f97316%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
}

select.textarea option {
  background: #1e1e24;
  color: #fff;
}

.textarea:focus,
.result-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.6);
}

.label {
  display: block;
  margin-bottom: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #d1d5db;
}

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #111;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}

.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(249, 115, 22, 0.7);
}

.btn-secondary {
  padding: 10px 16px;
  background: rgba(30, 64, 175, 0.8);
  border: 1px solid rgba(30, 64, 175, 0.4);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 1);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
}

/* Botão de ícone dentro do input */
.btn-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.2s;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* ===== RESULT BOX ===== */
.result {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.05);
}

.result-box {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.result-info {
  margin-top: 10px;
  opacity: 0.75;
  font-size: 14px;
}

/* ===== SLOGAN & SHARE ===== */
.inside-slogan {
  margin-top: 20px;
  padding: 12px;
  background: rgba(249, 115, 22, 0.1);
  border-left: 3px solid #f97316;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e5e7eb;
}

.share-section {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.share-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #d1d5db;
}

.share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.share-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.share-input:focus {
  border-color: #f97316;
}

.btn-share {
  border: none;
  border-radius: 6px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: #fff;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-whatsapp {
  background: #25D366;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-1px);
}

.btn-email {
  background: #ea4335;
}

.btn-email:hover {
  background: #d62d20;
  transform: translateY(-1px);
}

/* ===== VIEW PAGE ===== */
.view-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.view-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  width: 800px;
  padding: 60px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.3);

  /* mesmo efeito de entrada da home */
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
}


.password-value {
  color: #f97316;
  font-size: 26px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

.view-info {
  font-size: 15px;
  opacity: 0.8;
  margin-top: 15px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Loader redondo no botão --- */
.loader {
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Animação suave de entrada do box --- */
.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Botão copiar quando clicado --- */
.copied {
  background: #22c55e !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.7) !important;
  transform: scale(1.05);
}

/* ===== PASSWORD VIEW ===== */
.password-wrapper {
  margin-top: 20px;
  text-align: center;
}

.password-blur {
  filter: blur(10px);
  user-select: none;
  transition: 0.3s ease-in-out;
}

.password-value,
.password-blur {
  font-size: 28px;
  font-weight: bold;
  color: #f97316;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.password-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.menu a {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
  margin-left: 20px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.menu a:hover {
  color: #000000;
}

.menu .active {
  color: #000000;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f0f13;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #fb923c;
  text-decoration: underline;
}

.footer-contact p {
  margin: 4px 0;
}

.footer-copy {
  opacity: 0.6;
  font-size: 0.8rem;
  margin-top: 10px;
}