:root {
  --color-primary: #2c3e50;
  --color-accent: #f1c40f;
  --color-accent-hover: #f39c12;
  --color-dark: #1a1a2e;
  --color-light: #f8f9fa;
  --whatsapp: #25d366;
  --whatsapp-hover: #20ba5c;
  --blue: #0f52ba;
  --red: #e30613;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--color-dark);
  line-height: 1.5;
  background: #fff;
  min-height: 100vh;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(to bottom right, #2c3e50, #1a1a2e);
  color: #fff;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0 6rem;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.accent {
  color: var(--color-accent);
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
}

.video-wrap.vsl-player {
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #000;
}

.video-wrap.vsl-player vturb-smartplayer {
  display: block;
  width: 100% !important;
}

@media (max-width: 767px) {
  .hero .container.hero-inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .hero h1,
  .vsl-unlock-msg,
  .hero-lead,
  .hero .vsl-hidden {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .video-wrap.vsl-player {
    width: 100%;
    max-width: none;
    margin-bottom: 1rem;
    border-radius: 0;
  }
}

.vsl-locked .vsl-hidden {
  display: none !important;
}

.vsl-locked .nav-links {
  display: none;
}

.vsl-locked .wa-btn {
  display: none !important;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.5rem;
}

.vsl-unlock-msg {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.6rem 0.5rem;
  font-size: clamp(0.62rem, 3.15vw, 0.95rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: #1a1a2e;
  background: var(--color-accent);
  border-radius: 0.5rem;
}

body:not(.vsl-locked) .vsl-unlock-msg {
  display: none;
}

.hero-lead {
  font-size: 1.25rem;
  text-align: center;
  max-width: 48rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border-radius: 0.375rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.scroll-hint p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-white {
  background: #fff;
}

.section-gray {
  background: #f3f4f6;
}

.section-faq {
  background: #f9fafb;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.narrow {
  max-width: 56rem;
  margin: 0 auto;
}

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

.pain-list {
  margin-bottom: 4rem;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease;
}

.list-item:hover {
  transform: translateY(-4px);
}

.pain-item {
  background: #f3f4f6;
}

.benefit-item {
  background: #f9fafb;
  border: 1px solid #dcfce7;
}

.list-item p {
  font-size: 1.125rem;
}

.icon-wrap {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.video-lead {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #374151;
  text-align: center;
}

.wistia-pad {
  padding: 56.25% 0 0;
  position: relative;
}

.wistia-wrap {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.wistia-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Content grid */
.content-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transform: translateY(-5px);
}

.card-highlight {
  background: rgba(15, 82, 186, 0.05);
  border-color: rgba(15, 82, 186, 0.3);
}

.card .icon-wrap {
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Pricing */
.pricing {
  padding: 4rem 0;
  background: linear-gradient(to bottom right, #2c3e50, #1a1a2e);
  color: #fff;
}

.pricing-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.price-card {
  background: #fff;
  color: #000;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  margin-bottom: 4rem;
}

.price-head {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-head h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.price-note {
  color: #4b5563;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  list-style: none;
}

.price-features svg {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.btn-buy {
  width: 100%;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  animation: pulse-button 2s infinite;
}

.btn-buy:hover {
  background: var(--color-accent-hover);
  transform: scale(1.05);
}

.warning-box {
  display: inline-block;
  background: rgba(241, 196, 15, 0.1);
  border: 1px solid rgba(241, 196, 15, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
}

.warning-box p {
  font-size: 1.125rem;
  font-weight: 500;
}

/* FAQ */
.faq-box {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  overflow: hidden;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 1.125rem;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 24rem;
  opacity: 1;
}

.faq-answer p {
  padding: 0 1rem 1rem;
  color: #4b5563;
}

.faq-icon-open {
  display: none;
}

.faq-item.open .faq-icon-open {
  display: block;
}

.faq-item.open .faq-icon-closed {
  display: none;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 2.5rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-brand svg {
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact div {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-contact svg {
  margin-right: 0.5rem;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer-links {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
  }

  .footer-brand,
  .footer-links {
    margin-bottom: 0;
  }

  .footer-contact {
    align-items: flex-end;
  }
}

/* WhatsApp button */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  animation: pulse-whatsapp 2s infinite;
}

.wa-btn:hover {
  background: var(--whatsapp-hover);
}

.wa-btn img {
  width: 2rem;
  height: 2rem;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 50;
  background: #22c55e;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  animation: scale-in 0.5s ease-out forwards;
}

.toast-wa {
  bottom: 5rem;
  right: 1.5rem;
}

.toast-top {
  top: 1rem;
  right: 1rem;
}

.hidden {
  display: none !important;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.open {
  display: flex;
}

.modal-exit {
  z-index: 9999;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-exit .modal-backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  margin: 1rem;
  animation: scale-in 0.5s ease-out forwards;
}

.modal-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: #ef4444;
  color: #fff;
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.modal-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-head {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-head h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.modal-head p {
  color: #4b5563;
  font-size: 1.125rem;
}

.modal-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-head .discount-value {
  color: var(--color-accent-hover);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  outline: none;
}

.form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(241, 196, 15, 0.4);
}

.form-wa input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
}

.form input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  text-align: center;
  font-weight: 500;
  background: #fef2f2;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.form-actions button {
  flex: 1;
  font-weight: 700;
  padding: 1rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.form-actions button:hover:not(:disabled) {
  transform: scale(1.05);
}

.btn-submit {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-submit:hover:not(:disabled) {
  background: var(--color-accent-hover);
}

.btn-submit-wa {
  background: var(--whatsapp);
  color: #fff;
}

.btn-submit-wa:hover:not(:disabled) {
  background: var(--whatsapp-hover);
}

.btn-cancel {
  background: #e5e7eb;
  color: #1f2937;
}

.btn-cancel:hover:not(:disabled) {
  background: #d1d5db;
}

.form-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(241, 196, 15, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.5s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.5s ease-out forwards;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.stagger-animate > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animate > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animate > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animate > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animate > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animate > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-animate > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-animate > *:nth-child(8) { animation-delay: 0.8s; }
.stagger-animate > *:nth-child(9) { animation-delay: 0.9s; }
.stagger-animate > *:nth-child(10) { animation-delay: 1s; }

@media (max-width: 480px) {
  .form-actions {
    flex-direction: column;
  }

  .modal-card {
    padding: 1.5rem;
  }

  .modal-head h3 {
    font-size: 1.5rem;
  }
}
