/* Estilos Base */
:root {
  --primary-color: #ff3b30;
  --secondary-color: #34c759;
  --dark-color: #1c1c1e;
  --light-color: #ffffff;
  --accent-color: #007aff;
  --gradient-start: rgba(255, 59, 48, 0.9);
  --gradient-end: rgba(0, 122, 255, 0.9);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--dark-color);
  color: var(--light-color);
  overflow-x: hidden;
  line-height: 1.6;
}

.page-container {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(to bottom, #000000, #121212);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

.logo {
  width: 140px;
  margin-top: 20px;
  margin-bottom: 30px;
  z-index: 10;
}

.logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Slides Container */
.slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Caixa de Pergunta */
.question-box {
  background: rgba(255, 59, 48, 0.95);
  border-radius: 20px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto 40px;
  box-shadow: var(--box-shadow);
  transform: translateY(0);
  animation: float 3s ease-in-out infinite;
}

.question-box h1 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mensagem de Sobrevivência no Mercado */
.survival-message {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 59, 48, 0.5);
  border-radius: 15px;
  padding: 25px;
  max-width: 800px;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: pulse 3s infinite;
}

.survival-message h2 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.survival-message p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}

.survival-message p.highlight {
  font-size: 18px;
  font-weight: 600;
  color: #ffcc00;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 3px solid var(--primary-color);
}

.survival-message strong {
  color: var(--primary-color);
  font-weight: 700;
}

.quote {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.quote i {
  color: var(--accent-color);
  font-size: 20px;
  margin: 0 10px;
}

.quote p {
  font-style: italic;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

/* Opções de Botões */
.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Instrutor e Pagamento */
.instructor-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow);
}

.instructor-img {
  width: 280px;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.6);
}

.instructor-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.payment-info h2 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.payment-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.payment-details p {
  margin: 12px 0;
  font-size: 18px;
  font-weight: 500;
}

.payment-details strong {
  color: var(--accent-color);
}

.payment-note {
  font-weight: 500;
  margin-top: 20px !important;
  font-size: 16px !important;
  color: #ffcc00;
}

.limited-offer {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--primary-color) !important;
  margin-top: 5px !important;
  animation: pulse 2s infinite;
}

/* Botão CTA */
.cta-button {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
  align-self: center;
  box-shadow: 0 5px 20px rgba(255, 59, 48, 0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.6);
}

.cta-button:active {
  transform: translateY(1px);
}

.pulse-effect {
  position: relative;
}

.pulse-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  transform: scale(0);
  animation: pulse-white 2s infinite;
}

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

.modal-content {
  background: linear-gradient(to bottom, #1c1c1e, #2c2c2e);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: modalFadeIn 0.5s ease;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: white;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: white;
}

.payment-instructions {
  margin-top: 25px;
}

.payment-instructions p {
  margin: 10px 0;
  font-size: 16px;
  color: #ccc;
}

.whatsapp-button {
  background: #25d366;
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
  font-size: 20px;
}

/* Background Brasil-China Symbol */
.brasil-china-symbol {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 300px;
  height: 300px;
  opacity: 0.15;
  z-index: 1;
}

.symbol-bg {
  width: 100%;
  height: 100%;
  background-image: url("assets/images/logo1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(3px) brightness(1.5);
}

/* Animações */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

@keyframes pulse-white {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .instructor-box {
    flex-direction: row;
    padding: 40px;
  }

  .question-box h1 {
    font-size: 32px;
  }

  .payment-info {
    width: 60%;
  }

  .instructor-img {
    width: 320px;
    max-height: 400px;
  }
}

@media (max-width: 767px) {
  .question-box {
    padding: 20px;
    margin-bottom: 30px;
  }

  .question-box h1 {
    font-size: 20px;
  }

  .option-btn {
    font-size: 14px;
    padding: 12px 15px;
  }

  .cta-button {
    font-size: 16px;
    padding: 15px 20px;
  }

  .payment-details p {
    font-size: 16px;
  }

  .payment-info h2 {
    font-size: 18px;
  }

  .brasil-china-symbol {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .survival-message {
    padding: 20px;
    margin-bottom: 20px;
  }

  .survival-message h2 {
    font-size: 22px;
  }

  .survival-message p {
    font-size: 14px;
  }

  .survival-message p.highlight {
    font-size: 16px;
    padding: 10px;
  }

  .quote {
    flex-direction: column;
  }

  .quote i {
    margin: 5px 0;
  }
}
