/* ═══════════════════════════════════════════════════════════════════
   CAMPAIGN LANDING PAGE — landing.css
   BEM prefix: th-clp__ (campaign landing page)
   Token-only: 0 hardcoded values
   Responsive: 375 / 768 / 1240
   ═══════════════════════════════════════════════════════════════════ */

/* ── SECTION 1: Hero Banner ── */
.th-clp__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: var(--th-space-16) var(--th-space-6);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--th-ink-900) 85%, transparent),
      color-mix(in srgb, var(--th-color-accent) 30%, var(--th-ink-900))
    );
  overflow: hidden;
  text-align: center;
  color: var(--th-neutral-0);
}
.th-clp__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}
.th-clp__hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--th-space-4);
}
.th-clp__hero-badge {
  display: inline-flex;
  padding: var(--th-space-1-5) var(--th-space-4);
  background: color-mix(in srgb, var(--th-color-accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--th-color-accent) 40%, transparent);
  border-radius: var(--th-radius-full);
  font-size: var(--th-text-xs-plus);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.th-clp__hero-title {
  font-size: var(--th-text-5xl);
  font-weight: var(--th-font-extrabold);
  line-height: 1.1;
  margin: 0;
  color: var(--th-neutral-0);
  text-shadow: 0 2px 16px color-mix(in srgb, var(--th-ink-900) 40%, transparent);
}
.th-clp__hero-subtitle {
  font-size: var(--th-text-lg);
  font-weight: var(--th-font-regular);
  line-height: 1.5;
  margin: 0;
  color: color-mix(in srgb, var(--th-neutral-0) 85%, transparent);
  max-width: 560px;
}
.th-clp__hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--th-space-2);
  padding: var(--th-space-4) var(--th-space-8);
  background: var(--th-color-accent);
  color: var(--th-neutral-0);
  font-size: var(--th-text-lg);
  font-weight: var(--th-font-bold);
  border: none;
  border-radius: var(--th-radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--th-color-accent) 35%, transparent);
}
.th-clp__hero-cta:hover {
  background: var(--th-color-accent-hover, var(--th-orange-700));
  transform: translateY(-2px);
}
.th-clp__hero-cta:active {
  transform: translateY(0);
}

/* ── SECTION 2: Trust Strip ── */
.th-clp__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--th-space-6);
  padding: var(--th-space-4) var(--th-space-6);
  background: var(--th-color-bg-secondary);
  border-bottom: 1px solid var(--th-color-border-light);
}
.th-clp__trust-item {
  display: flex;
  align-items: center;
  gap: var(--th-space-2);
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-medium);
  color: var(--th-color-text-2, var(--th-ink-500));
  white-space: nowrap;
}
.th-clp__trust-item i {
  font-size: var(--th-text-md);
  color: var(--th-color-success);
}
.th-clp__trust-sep {
  width: 1px;
  height: 20px;
  background: var(--th-color-border);
}

/* ── SECTION 3: Products Grid ── */
.th-clp__products {
  max-width: var(--th-container-max, 1240px);
  margin: 0 auto;
  padding: var(--th-space-12) var(--th-space-6);
}
.th-clp__section-title {
  font-size: var(--th-text-2xl);
  font-weight: var(--th-font-bold);
  color: var(--th-color-text);
  text-align: center;
  margin: 0 0 var(--th-space-2);
}
.th-clp__section-subtitle {
  font-size: var(--th-text-base);
  color: var(--th-color-text-muted);
  text-align: center;
  margin: 0 0 var(--th-space-8);
}
.th-clp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--th-space-4);
}

/* ── SECTION 4: Countdown Timer ── */
.th-clp__countdown {
  background: linear-gradient(135deg, var(--th-ink-900), var(--th-ink-800, var(--th-neutral-800)));
  padding: var(--th-space-10) var(--th-space-6);
  text-align: center;
  color: var(--th-neutral-0);
}
.th-clp__countdown-title {
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-bold);
  margin: 0 0 var(--th-space-6);
  color: var(--th-neutral-0);
}
.th-clp__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--th-space-3);
}
.th-clp__timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--th-space-1);
}
.th-clp__timer-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: color-mix(in srgb, var(--th-neutral-0) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--th-neutral-0) 15%, transparent);
  border-radius: var(--th-radius-xl);
  font-size: var(--th-text-3xl);
  font-weight: var(--th-font-extrabold);
  color: var(--th-color-accent);
  font-variant-numeric: tabular-nums;
}
.th-clp__timer-label {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-medium);
  color: color-mix(in srgb, var(--th-neutral-0) 60%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.th-clp__timer-sep {
  font-size: var(--th-text-2xl);
  font-weight: var(--th-font-bold);
  color: var(--th-color-accent);
  padding-bottom: var(--th-space-6);
}
.th-clp__countdown-expired {
  font-size: var(--th-text-lg);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text-muted);
  padding: var(--th-space-4);
}

/* ── SECTION 5: Testimonials ── */
.th-clp__testimonials {
  max-width: var(--th-container-max, 1240px);
  margin: 0 auto;
  padding: var(--th-space-12) var(--th-space-6);
}
.th-clp__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--th-space-4);
  margin-top: var(--th-space-8);
}
.th-clp__testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-3);
  padding: var(--th-space-6);
  background: var(--th-neutral-0);
  border: 1px solid var(--th-color-border-light);
  border-radius: var(--th-radius-xl);
  transition: box-shadow 0.2s ease;
}
.th-clp__testimonial:hover {
  box-shadow: 0 4px 16px color-mix(in srgb, var(--th-ink-900) 8%, transparent);
}
.th-clp__testimonial-stars {
  font-size: var(--th-text-sm);
  color: var(--th-yellow-500, var(--th-color-accent));
  display: flex;
  gap: var(--th-space-0-5);
}
.th-clp__testimonial-text {
  font-size: var(--th-text-base);
  color: var(--th-color-text-2, var(--th-ink-500));
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.th-clp__testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--th-space-2);
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text);
}
.th-clp__testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--th-radius-full);
  background: var(--th-color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-bold);
  color: var(--th-color-accent);
  flex-shrink: 0;
}
.th-clp__testimonial-verified {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-regular);
  color: var(--th-color-success);
  display: flex;
  align-items: center;
  gap: var(--th-space-1);
}

/* ── SECTION 6: FAQ Accordion ── */
.th-clp__faq {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--th-space-12) var(--th-space-6);
}
.th-clp__faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-2);
  margin-top: var(--th-space-8);
}
.th-clp__faq-item {
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.th-clp__faq-item[open] {
  border-color: var(--th-color-accent);
}
.th-clp__faq-q {
  font-size: var(--th-text-base-plus);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text);
  padding: var(--th-space-4) var(--th-space-5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--th-space-3);
  transition: background 0.15s ease;
}
.th-clp__faq-q:hover {
  background: var(--th-color-bg-secondary);
}
.th-clp__faq-q::-webkit-details-marker { display: none; }
.th-clp__faq-q::after {
  content: '+';
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-regular);
  color: var(--th-color-text-placeholder);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.th-clp__faq-item[open] .th-clp__faq-q::after {
  content: '\2212';
  color: var(--th-color-accent);
}
.th-clp__faq-a {
  font-size: var(--th-text-base);
  color: var(--th-color-text-muted);
  line-height: 1.65;
  padding: 0 var(--th-space-5) var(--th-space-4);
  margin: 0;
}

/* ── SECTION 7: Sticky CTA Bar ── */
.th-clp__sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--th-z-sticky, 1020);
  background: color-mix(in srgb, var(--th-ink-900) 95%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid color-mix(in srgb, var(--th-neutral-0) 10%, transparent);
  box-shadow: 0 -4px 20px color-mix(in srgb, var(--th-ink-900) 20%, transparent);
  padding: var(--th-space-3) var(--th-space-6);
  padding-bottom: calc(var(--th-space-3) + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.th-clp__sticky.is-visible {
  transform: translateY(0);
}
.th-clp__sticky-inner {
  max-width: var(--th-container-max, 1240px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--th-space-4);
}
.th-clp__sticky-info {
  display: flex;
  align-items: center;
  gap: var(--th-space-3);
  flex: 1;
  min-width: 0;
}
.th-clp__sticky-text {
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-medium);
  color: color-mix(in srgb, var(--th-neutral-0) 80%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.th-clp__sticky-price {
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-extrabold);
  color: var(--th-neutral-0);
}
.th-clp__sticky-old {
  font-size: var(--th-text-xs);
  color: color-mix(in srgb, var(--th-neutral-0) 50%, transparent);
  text-decoration: line-through;
}
.th-clp__sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--th-space-2);
  padding: var(--th-space-3) var(--th-space-6);
  background: var(--th-color-accent);
  color: var(--th-neutral-0);
  font-size: var(--th-text-base);
  font-weight: var(--th-font-bold);
  border: none;
  border-radius: var(--th-radius-lg);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
  touch-action: manipulation;
  min-height: 48px;
}
.th-clp__sticky-btn:hover {
  background: var(--th-color-accent-hover, var(--th-orange-700));
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .th-clp__hero {
    min-height: 360px;
    padding: var(--th-space-10) var(--th-space-4);
  }
  .th-clp__hero-title { font-size: var(--th-text-3xl); }
  .th-clp__hero-subtitle { font-size: var(--th-text-base); }
  .th-clp__hero-cta {
    width: 100%;
    justify-content: center;
    padding: var(--th-space-4) var(--th-space-6);
    font-size: var(--th-text-base);
  }

  /* Trust */
  .th-clp__trust {
    flex-wrap: wrap;
    gap: var(--th-space-3) var(--th-space-4);
    padding: var(--th-space-3) var(--th-space-4);
  }
  .th-clp__trust-sep { display: none; }
  .th-clp__trust-item { font-size: var(--th-text-xs-plus); }

  /* Products */
  .th-clp__products { padding: var(--th-space-8) var(--th-space-4); }
  .th-clp__grid { grid-template-columns: repeat(2, 1fr); gap: var(--th-space-3); }
  .th-clp__section-title { font-size: var(--th-text-xl); }

  /* Countdown */
  .th-clp__countdown { padding: var(--th-space-8) var(--th-space-4); }
  .th-clp__timer-value {
    width: 56px;
    height: 56px;
    font-size: var(--th-text-2xl);
  }
  .th-clp__timer { gap: var(--th-space-2); }

  /* Testimonials */
  .th-clp__testimonials { padding: var(--th-space-8) var(--th-space-4); }
  .th-clp__testimonials-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .th-clp__faq { padding: var(--th-space-8) var(--th-space-4); }
  .th-clp__faq-q { font-size: var(--th-text-base); padding: var(--th-space-3) var(--th-space-4); }
  .th-clp__faq-a { padding: 0 var(--th-space-4) var(--th-space-3); font-size: var(--th-text-sm); }

  /* Sticky */
  .th-clp__sticky { padding: var(--th-space-2-5) var(--th-space-4); }
  .th-clp__sticky-text { display: none; }
  .th-clp__sticky-btn {
    padding: var(--th-space-3) var(--th-space-5);
    font-size: var(--th-text-sm);
  }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤375px)
   ═══════════════════════════════════════════════ */
@media (max-width: 375px) {
  .th-clp__hero { min-height: 280px; padding: var(--th-space-8) var(--th-space-3); }
  .th-clp__hero-title { font-size: var(--th-text-2xl); }
  .th-clp__hero-badge { font-size: var(--th-text-2xs); }
  .th-clp__timer-value { width: 48px; height: 48px; font-size: var(--th-text-xl); }
  .th-clp__timer-sep { font-size: var(--th-text-lg); }
  .th-clp__grid { gap: var(--th-space-2); }
}
