:root {
  --primary: #22c55e;
  --primary-glow: #22c55e80;
  --dark-bg: #020617;
  --card-bg: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-main);
  background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #020617 60%);
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER & NAV --- */

header {
  padding: 30px 0;
}
.logo {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -1px;
  text-shadow: none;
}

/* --- HERO SECTION (A Primeira Impressão) --- */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0;
  gap: 50px;
}

h1,
h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}

p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 35px;
  line-height: 1.6;
  max-width: 500px;
  text-align: left;
}

.btn-cta {
  background-color: var(--primary);
  color: #000;
  padding: 18px 40px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: 0.3s;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn-cta:hover {
  background-color: #4ade80;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 40px var(--primary-glow);
}

/* --- CHAT ANIMADO (O Charme do Site) --- */
.chat-mockup {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 24px;
  width: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: none;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.msg {
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0;
  animation: popIn 0.5s forwards;
}
.user {
  background-color: #005c4b;
  align-self: flex-end;
  margin-left: auto;
  width: fit-content;
  border-bottom-right-radius: 2px;
  animation-delay: 0.5s;
}
.bot {
  background-color: #202c33;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 2px;
  animation-delay: 1.5s;
}

/* Animação das mensagens aparecendo */
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  background-color: #3e8ee6;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  padding: 60px 0 80px 0;
  margin-top: 95px;
  transform: none;
}

.about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 0;
}

.pain-section {
  position: relative;
}

.pain-section .about-text,
.pain-section .about-image {
  position: relative;
  z-index: 2;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  background: none;
  -webkit-text-fill-color: initial;
  color: #ffffff;
}

.about-text p {
  color: #ffffff;
  opacity: 0.95;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- FEATURES (Cards de Vidro) --- */
.divider {
  padding: 60px 0;
}

.divider h2 {
  text-align: center;
}

.image-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.image-gallery img {
  flex: 1;
  max-width: 500px;
  width: 25rem;
  height: 25rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.02);
}

.divider-image img {
  width: 20rem;
  height: auto;
  border-radius: 20px;
}

.features {
  padding: 50px 0;
}
.features .container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.card {
  flex: 1;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}
.card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* --- CHECKOUT FORM (Moderno) --- */
.checkout-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Luz de fundo decorativa atrás do form */
.checkout-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.2;
  z-index: 0;
}

.form-wrapper {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--primary);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 20px var(--primary-glow);
}

.form-wrapper p {
  text-align: center;
}

/* --- SELO DE GARANTIA NO CHECKOUT --- */
.guarantee-badge {
  text-align: center;
  margin: 20px 0;
}
.guarantee-badge img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
  transition: transform 0.3s ease;
}

.guarantee-badge img:hover {
  transform: scale(1.05);
}

.input-group label {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.input-group input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
}
.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.05);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}
button[type="submit"]:hover {
  background-color: #4ade80;
  transform: translateY(-3px);
}
button[type="submit"]:disabled {
  background-color: #334155;
  cursor: not-allowed;
  box-shadow: none;
}

/* --- SELETOR DE PLANOS --- */
.plan-selector {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.plan-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  text-align: center;
}

/* Esconde a bolinha do rádio padrão */
.plan-card input {
  display: none;
}

/* Quando passa o mouse */
.plan-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Quando está selecionado (Active) */
.plan-card.active {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.1);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.plan-name {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.plan-save {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: bold;
  text-transform: uppercase;
}

.subscription-direct {
  padding: 80px 0;
  background: rgba(2, 6, 23, 0.5);
}

/* --- DEPOIMENTOS (PROVA SOCIAL) --- */

.testimonials-section {
  padding: 40px 0 80px 0;
}

.testimonials-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Cores imitando a bordinha do Instagram e a logo do cliente */
.avatar-eleni {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.avatar-tlt {
  background: linear-gradient(45deg, #000000, #00c6ff);
}

.user-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  background: none;
  -webkit-text-fill-color: initial;
}

.user-info .source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-text {
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* --- ESTILO DA FAQ (PERGUNTAS FREQUENTES) --- */
.faq {
  background-color: #3e8ee6;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  padding: 60px 0 80px 0;
  margin-top: 60px;
  transform: none;
}

.faq-section h2,
.faq h2 {
  background: none;
  -webkit-text-fill-color: initial;
  color: #ffffff;
}

.faq-section {
  margin-bottom: 60px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-section details {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.faq-section details:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-color: #ccc;
}

.faq-section summary {
  color: #000;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.faq-section summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: bold;
}

.faq-section details[open] summary::after {
  content: "-";
}

.faq-section p {
  margin-top: 10px;
  color: #555;
  line-height: 1.6;
}

/* --- CARD DE ASSINATURA PREMIUM --- */
.subscription-premium {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.cta-box-premium {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(15px);
  border: 2px solid var(--primary);
  padding: 40px 20px;
  border-radius: 32px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin: 30px 0;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 20px var(--primary-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cancel-text {
  margin-top: 15px;
}

.cta-box-premium p {
  text-align: center;
}

/* --- ESTILO DOS SELOS DE SEGURANÇA --- */
.security-badges {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
}

.security-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.trust-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* --- ESTILO DO RODAPÉ (FOOTER) --- */
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 60px 0 30px;
  margin-top: 80px;
  font-size: 0.95rem;
}

/* Estilo dos Preços Centralizados */
.price-container {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 15px var(--primary-glow);
}

.price-current span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Lista de Benefícios Alinhada */
.features-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: left;
  display: inline-block;
}

.features-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- FOOTER SIMPLES --- */
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 60px 0 30px;
  margin-top: 80px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  margin-bottom: 8px;
  color: #aaa;
  text-align: center;
}

.footer-copy {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-copy p {
  text-align: center;
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- BOTÃO INSTAGRAM PRO --- */
.social-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.instagram-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.instagram-btn svg {
  transition: transform 0.3s ease;
}

/* Efeito ao passar o mouse */
.instagram-btn:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.instagram-btn:hover svg {
  transform: scale(1.1);
}

/* --- ASSINATURA DO DESENVOLVEDOR --- */

.dev-credit {
  margin-top: 10px !important;
  font-size: 0.85rem;
}

.dev-credit a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.dev-credit a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

@media (max-width: 768px) {
  .hero-content,
  .about-grid,
  .features .container {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }

  .about-text {
    order: 1;
  }
  .about-image,
  .divider-image {
    order: 2;
    margin-top: 30px;
  }

  .about-text p {
    margin: 0 auto 30px auto;
  }

  h1 {
    font-size: 2.5rem;
  }
  .about-text h2 {
    font-size: 2rem;
  }

  .chat-mockup {
    width: 100%;
    max-width: 350px;
    margin: 30px auto 0 auto;
  }

  .image-gallery {
    flex-direction: column;
    align-items: center;
  }

  .image-gallery img {
    max-width: 100%;
  }

  /* --- CORREÇÃO DO CARD DE ASSINATURA (Centralização) --- */
  .cta-box-premium {
    width: 100%;

    margin: 30px 0;
    padding: 40px 25px;
    border-radius: 24px;
    box-sizing: border-box;
  }

  .cta-box-premium h2 {
    font-size: 1.8rem;
  }
  .price-current {
    font-size: 2.8rem;
  }

  .features-list {
    display: inline-block;
    margin: 20px auto;
    text-align: left;
    width: auto;
  }

  .features-list li {
    font-size: 1rem;
  }

  .form-wrapper h2 {
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .form-wrapper p {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .faq-grid {
    width: 100%;
    padding: 0 10px;
  }

  .footer-info p {
    text-align: center;
  }

  .instagram-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .plan-selector {
    flex-direction: row;
  }
  .plan-price {
    font-size: 1rem;
  }
}
