html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  overflow-x: clip;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

.delay-4 {
  transition-delay: .32s;
}

.mouse-indicator {
  animation: floatY 2s infinite ease-in-out;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.card-benefit {
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(229, 231, 235, 1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.group:hover .card-benefit,
.service-card:hover,
.trust-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.group:hover .card-benefit {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  border-color: rgba(0, 208, 132, .3);
}

.group:hover .icon-benefit {
  background: linear-gradient(135deg, #00D084 0%, rgba(0, 208, 132, .8) 100%);
}

.icon-benefit {
  background: linear-gradient(135deg, #001F3F 0%, rgba(0, 31, 63, .8) 100%);
  border-radius: .75rem;
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all .3s ease;
}

.service-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.trust-card {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .3s ease, transform .3s ease;
}

.trust-card:hover {
  background: rgba(255, 255, 255, .15);
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.faq-item:hover {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-align: left;
  color: #001F3F;
  font-weight: 700;
  font-size: 1.125rem;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-content-inner {
  padding: 0 1.5rem 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.open .faq-trigger i {
  transform: rotate(180deg);
}

.field {
  width: 100%;
  padding: .875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: .75rem;
  outline: none;
  color: #111827;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(0, 208, 132, .25);
}

.modal-panel {
  position: fixed;
  z-index: 75;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 42rem);
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
}

.modal-close:hover {
  background: #f3f4f6;
}

#toast.show {
  display: block;
  animation: toastIn .25s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .faq-trigger {
    font-size: 1rem;
  }

  .modal-panel {
    width: min(94vw, 42rem);
    padding: 1.25rem;
  }
}

.checkout-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.checkout-sticky {
  position: sticky;
  top: 7rem;
}

.checkout-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.checkout-stat-label {
  font-size: .875rem;
  color: #6b7280;
  font-weight: 600;
}

.checkout-stat-value {
  font-size: 1.1rem;
  color: #001F3F;
  font-weight: 800;
}

.legal-check {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.legal-check:hover {
  border-color: rgba(0, 208, 132, .35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.legal-checkbox {
  margin-top: .2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #00D084;
  flex-shrink: 0;
}

.legal-check-copy {
  color: #4b5563;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .checkout-sticky {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .checkout-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .checkout-stat {
    padding: .9rem 1rem;
  }
}

#legal-warning {
  position: relative;
  animation: legalPop 0.18s ease-out;
}

#legal-warning::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 14px;
  height: 14px;
  background: #fef3c7;
  border-left: 1px solid #fde68a;
  border-top: 1px solid #fde68a;
  transform: rotate(45deg);
}

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

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  z-index: 65;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page-with-cookie-banner .floating-whatsapp {
  bottom: 92px;
}

.coupon-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.coupon-inline-error {
  display: none;
  margin-top: .65rem;
  border-radius: .9rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  padding: .85rem 1rem;
  font-size: .94rem;
  line-height: 1.5;
}

.coupon-inline-error.show {
  display: block;
}

.coupon-success {
  background: linear-gradient(180deg, rgba(0, 208, 132, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(0, 208, 132, 0.18);
}

.coupon-hint {
  border-radius: 1rem;
  border: 1px dashed rgba(0, 31, 63, 0.15);
  background: rgba(0, 31, 63, 0.03);
  padding: 1rem 1.1rem;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .page-with-cookie-banner .floating-whatsapp {
    bottom: 84px;
  }
}
