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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: #ffffff;
  color: #1d2330;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  display: flex;
  flex-direction: column;
}

#hero-container {
  background-color: #f6f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  max-width: 80rem;
  width: 100%;
  padding: 0.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

header a {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.5rem;

  strong {
    white-space: nowrap;
  }
}

/* Header CTA Button Styling */
.header-cta-button {
  background: linear-gradient(135deg, #0924a3 0%, #1e3ba8 100%);
  color: white !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 12px rgba(9, 36, 163, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.header-cta-button:hover {
  background: linear-gradient(135deg, #1e3ba8 0%, #0924a3 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 36, 163, 0.35);
  color: white !important;
  text-decoration: none !important;
}

.header-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(9, 36, 163, 0.3);
}

.header-cta-button img {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0) invert(1);
}

.header-cta-button:hover img {
  transform: scale(1.1);
}

.header-cta-button span {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta-button:hover span {
  transform: translateX(2px);
}

#hero {
  max-width: 80rem;
  width: 100%;
  padding: 4rem 1rem;
  font-size: larger;
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (max-width: 80rem) {
    flex-direction: column-reverse;
    padding: 2rem 1rem;
  }
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  max-width: 80rem;
  margin: 0 auto 2rem auto;
}

nav button {
  background-color: #f3f4f6;
  color: #1d2330;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  gap: 1rem;
  border-radius: 1.25rem;
  border: none;
  font-weight: 500;
  font-size: medium;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav button:hover {
  background-color: #e1e1e1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav button:active {
  transform: scale(0.98);
  transition: all 0.1s;
}

nav button.active {
  background-color: var(--primary);
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 12px
    color-mix(in srgb, var(--primary, #2563eb) 30%, transparent);
}

nav button.active:hover {
  background-color: color-mix(in srgb, var(--primary, #2563eb) 85%, black);
  transform: scale(1.06);
  box-shadow: 0 6px 16px
    color-mix(in srgb, var(--primary, #2563eb) 40%, transparent);
}

nav button img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav button:hover img {
  transform: rotate(5deg) scale(1.1);
}

nav button.active img {
  transform: scale(1.1);
}

nav button.active:hover img {
  transform: rotate(-5deg) scale(1.15);
}

nav button span {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

nav button:hover span {
  transform: translateX(2px);
}

nav button.active:hover span {
  transform: translateX(3px);
}

nav button .campaign-count {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary, #2563eb);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 0.75rem;
  min-width: 1.25rem;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav button:hover .campaign-count {
  background-color: rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
}

nav button.active .campaign-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

nav button.active:hover .campaign-count {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

#hero figure,
#hero figure img {
  position: relative;
  max-height: 28rem;
}

#shadow {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  top: 50%;
  bottom: 50%;
  border-radius: 100%;
  background-color: var(--primary);
  box-shadow: 0 0 30rem 10rem var(--primary);
  opacity: 30%;
}

#whatsapp {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: #3ce55a;
  width: 3rem;
  height: 3rem;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(60, 229, 90, 0.3);
  cursor: pointer;
  z-index: 10;
}

#whatsapp:hover {
  background-color: #2dc84a;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(60, 229, 90, 0.4),
    0 0 0 0.125rem rgba(45, 200, 74, 0.8);
}

#whatsapp:active {
  transform: scale(0.95) rotate(-2deg);
  transition: all 0.1s;
}

#whatsapp svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#whatsapp:hover svg {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

#whatsapp {
  animation: whatsappFloat 3s ease-in-out infinite;
}

#whatsapp:hover {
  animation: none;
}

/* Responsive Go to App button - hide text on narrow screens */
@media (max-width: 420px) {
  .header-cta-button {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    justify-content: center;
  }

  .header-cta-button span {
    display: none;
  }
}

main {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
  flex: 1;
}

#products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 1.5rem;
}

article {
  line-height: 1.6;
  color: #222;
  max-width: 65ch;
}

#hero article.thank-you-content {
  text-align: center;
  margin: 0 auto;
}

/* Headings */
article h1,
article h2,
article h3,
article h4 {
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

article h1 {
  font-size: 2rem;
}
article h2 {
  font-size: 1.6rem;
}
article h3 {
  font-size: 1.3rem;
}

article p {
  margin: 1em 0;
}

article a {
  color: #2563eb;
  text-decoration: none;
}
article a:hover {
  text-decoration: underline;
}

article ul,
article ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
article li {
  margin: 0.3em 0;
}

article blockquote {
  margin: 1.2em 0;
  padding-left: 1em;
  border-left: 3px solid #ddd;
  color: #555;
  font-style: italic;
}

article img {
  max-width: 100%;
  display: block;
  margin: 1.2em 0;
  border-radius: 0.5rem;
}

main > article {
  padding: 1rem;
  text-align: center;
  font-size: larger;
  margin: 0 auto;
  font-weight: 200;

  h2 {
    font-weight: 600;
  }

  p,
  h2 {
    margin: 0.5rem;
    padding: 0;
  }
}

footer {
  background-color: #f6f8f8;
  padding: 3rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  color: #6b7280;
  font-size: 1rem;
}

.footer-disclaimer {
  color: #9ca3af;
  font-size: 0.75rem;
  max-width: 40rem;
}

/* Thank you icon styles */
.thank-you-icon {
  width: 7.5rem;
  height: 7.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0.625rem 2.5rem rgba(16, 185, 129, 0.3);
  animation: scaleIn 0.5s ease-out;
}

.thank-you-icon svg {
  width: 3.75rem;
  height: 3.75rem;
  stroke: white;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Product Card Styles */
.product-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  display: flex;
  height: 100%;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.product-card:hover {
  outline: 2px solid #16a34a;
  outline-offset: 0.25rem;
}

.product-card:has(.star-badge):hover {
  outline: 2px solid #f59e0b;
}

.product-card:has(.star-badge):hover .star-badge {
  top: -0.25rem;
  right: -0.25rem;
}

.product-card:hover .product-gift {
  margin: 0rem -1.75rem;
}

.product-card:hover .action-button svg,
.product-card:hover .no-price-button svg {
  transform: translateX(0.25rem);
}

.star-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #f59e0b;
  color: #fef3c7;
  font-size: 0.75rem;
  padding: 0.5rem 0.5rem 0.75rem 0.75rem;
  z-index: 2;
  border-radius: 1rem 5rem 1rem 15rem;
  transition: all 0.2s;
}

.star-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #fef3c7;
}

.product-image {
  width: 100%;
  aspect-ratio: 96/45;
  object-fit: cover;
  border-radius: 0.5rem;
  background-color: #1d2330;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #2563eb;
  flex-grow: 1;
}

.product-gift {
  background: #16a34a;
  color: #f0fdf4;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  position: relative;
  margin: 0 -1.33rem;
  transition: all 0.3s;
}

.product-gift::before,
.product-gift::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: #15803d;
  z-index: -1;
  transform: rotate(45deg);
}

.product-gift::before {
  left: 0.25rem;
}

.product-gift::after {
  right: 0.25rem;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.price-container {
  display: flex;
  flex-direction: column;
  color: #525252;
}

.old-price {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  text-decoration: line-through;
  font-weight: 500;
  color: #dc2626;
}

.savings {
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  line-height: 1;
}

.current-price {
  display: flex;
  gap: 0.25rem;
  font-weight: 600;
  align-items: center;
}

.price-whole {
  font-size: 1.875rem;
  font-weight: 700;
}

.price-decimal-container {
  display: grid;
}

.price-decimal {
  font-size: 0.75rem;
  line-height: 1;
}

.price-currency {
  font-size: 0.75rem;
  line-height: 1;
}

.quote-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d2330;
  line-height: 1.2;
}

.action-button {
  color: white;
  background: var(--primary, #2563eb);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: scale(1);
  box-shadow: 0 2px 4px
    color-mix(in srgb, var(--primary, #2563eb) 20%, transparent);
  position: relative;
  overflow: hidden;
}

.action-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.action-button:hover {
  background: color-mix(in srgb, var(--primary, #2563eb) 85%, black);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 6px 16px
    color-mix(in srgb, var(--primary, #2563eb) 40%, transparent);
}

.action-button:active {
  transform: scale(0.98) translateY(0);
  transition: all 0.1s;
}

.action-button:hover::before {
  left: 100%;
}

.action-button svg {
  width: 1rem;
  height: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.no-price-button {
  color: white;
  background: var(--primary, #2563eb);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: right;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: scale(1);
  box-shadow: 0 2px 4px
    color-mix(in srgb, var(--primary, #2563eb) 20%, transparent);
  position: relative;
  overflow: hidden;
}

.no-price-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.no-price-button:hover {
  background: color-mix(in srgb, var(--primary, #2563eb) 85%, black);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 6px 16px
    color-mix(in srgb, var(--primary, #2563eb) 40%, transparent);
}

.no-price-button:active {
  transform: scale(0.98) translateY(0);
  transition: all 0.1s;
}

.no-price-button:hover::before {
  left: 100%;
}

.no-price-button svg {
  width: 1rem;
  height: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Open Campaign in New Tab Link */
.open-campaign-link {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .open-campaign-link {
  opacity: 1;
  transform: scale(1);
}

.open-campaign-link:hover {
  background: var(--primary, #2563eb);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.open-campaign-link:active {
  transform: scale(0.95);
}

.open-campaign-link svg {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.open-campaign-link:hover svg {
  color: white;
  transform: translateX(1px) translateY(-1px);
}

/* Adjust positioning when star badge is present */
.product-card:has(.star-badge) .open-campaign-link {
  top: 3.5rem;
}

/* No Campaigns Message Styles */
.no-campaigns-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}

.no-campaigns-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0.625rem 2.5rem rgba(245, 158, 11, 0.3);
  animation: pulse 2s infinite;
}

.no-campaigns-icon svg {
  width: 3rem;
  height: 3rem;
  color: white;
}

.no-campaigns-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary, #2563eb);
  margin-bottom: 1rem;
}

.no-campaigns-content p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 40rem;
  line-height: 1.7;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0.625rem 2.5rem rgba(245, 158, 11, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0.625rem 3rem rgba(245, 158, 11, 0.4);
  }
}

@media (max-width: 480px) {
  .feature-item {
    width: 100%;
    max-width: 20rem;
  }
}
