/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --yellow: #FFD200;
  --yellow-dark: #E6BC00;
  --yellow-light: #FFF3B0;
  --orange: #FF8C00;
  --black: #1A1A1A;
  --black-soft: #2D2D2D;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --green: #25D366;
  --green-dark: #1DA851;
  --red: #EF4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== BACKGROUND PATTERN ===== */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
  radial-gradient(circle at 20% 30%, rgba(255, 210, 0, 0.06) 0%, transparent 50%),
  radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.04) 0%, transparent 50%),
  var(--gray-50);
  pointer-events: none;
}

.bg-pattern::after {
  content: '%';
  position: absolute;
  font-size: 120px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  top: 15%;
  right: -20px;
  transform: rotate(15deg);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--black);
}

.header__logo img {
  border-radius: 50%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn:active {
  transform: scale(0.97);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.8rem;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(255, 210, 0, 0.4);
}

.btn--sm:hover {
  background: var(--yellow-dark);
}

.btn--primary {
  width: 100%;
  padding: 18px 24px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid var(--black);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(255, 140, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn--secondary {
  padding: 16px 32px;
  font-size: 0.95rem;
  background: var(--black);
  color: var(--yellow);
  box-shadow: var(--shadow-md);
}

.btn--secondary:hover {
  background: var(--black-soft);
}

.btn--full {
  width: 100%;
}

.btn--pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 4px 28px rgba(255, 210, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--yellow) 0%, var(--orange) 100%);
  padding: 80px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(0,0,0,0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__logo-wrap {
  margin-bottom: 16px;
}

.hero__logo {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.3);
}

.hero__subtitle {
  margin-top: 10px;
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  font-weight: 600;
  color: var(--black-soft);
}

/* ===== MAIN ===== */
.main {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

/* ===== CTA CARD ===== */
.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 32px;
}

.cta-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-card__urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.cta-card__urgency--critical {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-weight: 700;
}

.cta-card__urgency--critical .pulse-dot {
  animation: pulse-dot-fast 0.8s ease-in-out infinite;
}

.cta-card__urgency--shake {
  animation: urgency-shake 0.5s ease;
}

@keyframes pulse-dot-fast {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

@keyframes urgency-shake {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.04); }
  50% { transform: scale(0.98); }
  75% { transform: scale(1.02); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.social-proof {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--gray-600);
  animation: slide-in 0.4s ease;
}

.social-proof__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-card__footer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 32px;
}

.testimonial__star {
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.testimonial__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

.testimonial__author {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gray-400);
  font-weight: 600;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__icon--green {
  background: rgba(37, 211, 102, 0.12);
  color: var(--green-dark);
}

.feature-card__icon--yellow {
  background: rgba(255, 210, 0, 0.15);
  color: var(--orange);
}

.feature-card__icon--orange {
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange);
}

.feature-card__icon--dark {
  background: rgba(26, 26, 26, 0.08);
  color: var(--black);
}

.feature-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.feature-card p {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ===== STORES ===== */
.stores {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  text-align: center;
}

.stores__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.stores-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.stores-carousel__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: stores-scroll 22s linear infinite;
}

.stores-carousel__track:hover {
  animation-play-state: paused;
}

@keyframes stores-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.store-logo {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 100px;
  flex-shrink: 0;
}

.store-logo img {
  max-height: 24px;
  max-width: 80px;
  width: auto;
  object-fit: contain;
}

/* ===== OFFERS ===== */
.offers {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.offers__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  text-align: center;
}

.offers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.offer-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.offer-card:hover {
  transform: scale(1.03);
  border-color: var(--yellow);
}

.offer-card__tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.offer-card__discount {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-top: 14px;
  line-height: 1.1;
}

.offer-card__category {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ===== TRUST ===== */
.trust {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 32px;
}

.trust__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--yellow);
}

.trust__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  margin-bottom: 32px;
}

.faq__title {
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  margin-bottom: 40px;
}

.final-cta__members {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.final-cta__growing {
  display: block;
  font-weight: 500;
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-top: 2px;
}

.final-cta__banner {
  background: linear-gradient(135deg, var(--yellow-light) 0%, rgba(255, 210, 0, 0.3) 100%);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.final-cta__headline {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 16px;
}

/* ===== STICKY CTA (MOBILE) ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta--visible {
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 32px 16px 100px;
}

.footer__logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  opacity: 0.7;
}

.footer__text {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ===== PURCHASE TOASTS ===== */
.purchase-toasts {
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
}

.purchase-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.purchase-toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.purchase-toast--hide {
  opacity: 0;
  transform: translateX(-120%);
}

.purchase-toast__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.purchase-toast__content {
  flex: 1;
  min-width: 0;
}

.purchase-toast__text {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.35;
  margin: 0;
}

.purchase-toast__text strong {
  color: var(--black);
}

.purchase-toast__discount {
  display: inline-block;
  margin-top: 4px;
  background: rgba(29, 168, 81, 0.12);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

/* ===== TABLET+ ===== */
@media (min-width: 640px) {
  .purchase-toasts {
    left: auto;
    right: 20px;
    top: 80px;
  }

  .purchase-toast {
    transform: translateX(120%);
  }

  .purchase-toast--visible {
    transform: translateX(0);
  }

  .purchase-toast--hide {
    transform: translateX(120%);
  }

  .container {
    max-width: 560px;
    padding: 0 24px;
  }

  .hero__logo {
    width: 160px;
    height: 160px;
  }

  .features {
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 0.95rem;
  }

  .feature-card p {
    font-size: 0.82rem;
  }

  .offers__grid {
    gap: 12px;
  }

  .offer-card {
    padding: 16px 10px;
  }

  .offer-card__discount {
    font-size: 1.1rem;
  }

  .offer-card__category {
    font-size: 0.75rem;
  }

  body {
    padding-bottom: 0;
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 640px;
  }

  .cta-card {
    padding: 36px 32px;
  }

  .cta-card__title {
    font-size: 1.4rem;
  }
}
