/* =========================================================
   TYNE ACADEMY — CYBER MONDAY 2026
   Shared tokens + pieces used by both landing pages:
   buttons, "Learn With Confidence" band, testimonials,
   corner badge. No header / footer: the pages drop into
   the existing site layout.
   Desktop values follow the 1440px design.
   ========================================================= */
.ta-cm26 {
  --ta-purple: #6a00ec;
  --ta-purple-text: #6b01ed;
  --ta-purple-soft: #8b52ff;
  --ta-lavender: #f1f1ff;
  --ta-gold: #f1aa17;
  --ta-yellow: #f9b400;
  --ta-green: #7ed957;
  --ta-ink: #000;
  --ta-grey: #828282;
  --ta-grey-light: #b4b4b4;
  --ta-white: #fff;

  --ta-grad-card: linear-gradient(180deg, #ffffff 0%, #f1f1ff 100%);
  /* Cyber Monday neon gradient (buttons, borders, pills) */
  --ta-grad-cm: linear-gradient(90deg, #004aad 0%, #cb6ce6 100%);
  --ta-grad-cm-hover: linear-gradient(90deg, #003a8c 0%, #b04fd0 100%);
  --ta-cm-blue: #016aed;

  --ta-font: "Montserrat", sans-serif;
  --ta-font-alt: "Poppins", sans-serif;
  --ta-font-price: "Arvo", serif;
  --ta-font-display: "League Spartan", sans-serif;

  --ta-page: 1440px;
}

.ta-cm26 {
  overflow-x: clip;
  font-family: var(--ta-font);
  color: var(--ta-ink);
  background: var(--ta-white);
  }

.ta-cm26 {
  overflow-x: clip;
}

.ta-wrap {
  position: relative;
  max-width: var(--ta-page);
  margin: 0 auto;
}

/* ---------- buttons ---------- */
.tacm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  font-family: var(--ta-font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tacm-btn:hover,
.tacm-btn:focus-visible {
  transform: translateY(-2px);
}

.tacm-btn-purple {
  background: var(--ta-purple);
  color: var(--ta-white);
}

.tacm-btn-purple:hover,
.tacm-btn-purple:focus-visible {
  background: #5600c2;
  color: var(--ta-white);
  box-shadow: 0 10px 22px rgba(106, 0, 236, 0.32);
}

.tacm-btn-black {
  background: #000;
  color: var(--ta-white);
}

.tacm-btn-black:hover,
.tacm-btn-black:focus-visible {
  background: var(--ta-purple);
  color: var(--ta-white);
  box-shadow: 0 10px 22px rgba(106, 0, 236, 0.3);
}

/* blue → violet gradient button (Cyber Monday) */
.tacm-btn-grad {
  background: var(--ta-grad-cm);
  color: var(--ta-white);
}

.tacm-btn-grad:hover,
.tacm-btn-grad:focus-visible {
  background: var(--ta-grad-cm-hover);
  color: var(--ta-white);
  box-shadow: 0 10px 22px rgba(107, 64, 214, 0.35);
}

.tacm-btn-white {
  background: var(--ta-white);
  color: var(--ta-ink);
}

.tacm-btn-white:hover,
.tacm-btn-white:focus-visible {
  background: #fff7d6;
  color: var(--ta-purple);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ---------- "Cyber Monday Sale" corner sticker ----------
   Set --badge-w on the badge; it sits on the card's top-right corner. */
.ta-corner-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: var(--badge-w, 99px);
  max-width: none;
  height: auto;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   LEARN WITH CONFIDENCE (accreditation band)
   ========================================================= */
.ta-conf {
  position: relative;
  background: var(--ta-purple);
  z-index: 2;
}

.ta-conf .ta-wrap {
  display: flex;
  align-items: center;
  min-height: 289px;
  padding: 33px 0 30px 229px;
}

.ta-conf-title {
  flex: 0 0 428px;
  margin: 0;
  font-family: var(--ta-font);
  font-weight: 400;
  font-size: 45.8px;
  line-height: 1.16;
  color: var(--ta-white);
}

.ta-conf-title strong {
  display: block;
  font-weight: 700;
}

.ta-conf-logos {
  display: grid;
  grid-template-columns: repeat(3, 174px);
  gap: 14px 23px;
}

.ta-conf-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 107px;
  background: var(--ta-white);
  border-radius: 18px;
  padding: 8px 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ta-conf-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.ta-conf-logo img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
}

.ta-conf-logo img.is-wide { max-width: 88%; }

/* gifts hanging off the band edges (Hot Deals) */
.ta-conf-deco { z-index: 3; }
.ta-conf-deco.l-gift-sm { left: -17px; bottom: -22px; width: 117px; }
.ta-conf-deco.l-gift { left: 63px; bottom: -42px; width: 157px; }
.ta-conf-deco.r-bag { right: -41px; bottom: -22px; width: 198px; }
.ta-conf-deco.r-gift { right: 57px; bottom: -28px; width: 131px; }

/* =========================================================
   TESTIMONIALS — "What Do Our Learners Think?"
   ========================================================= */
.ta-testi {
  position: relative;
  background: #ececec url("../imgs/ta-cm-hd-review-bg.webp") center bottom / cover no-repeat;
  padding: 29px 0 34px;
}

.ta-testi-title {
  font-family: var(--ta-font);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}

.ta-reviews-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 171px;
  height: 27px;
  margin: 26px auto 12px;
  background: var(--ta-white);
  border: 2.5px solid var(--ta-purple);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ta-reviews-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(106, 0, 236, 0.25);
}

.ta-reviews-pill img {
  height: 15px;
  width: auto;
}

.ta-testi-row {
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 68px;
}

.ta-testi-swiper {
  flex: 1;
  min-width: 0;
  padding: 6px 0 10px;
}

.ta-testi-swiper .swiper-slide {
  height: auto;
}

.ta-testi-card {
  background: var(--ta-purple);
  border-radius: 6px;
  min-height: 171px;
  height: 100%;
  padding: 15px 15px 12px 16px;
  color: var(--ta-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ta-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(106, 0, 236, 0.3);
}

.ta-testi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.ta-testi-name {
  font-weight: 700;
  font-size: 10.1px;
  white-space: nowrap;
}

.ta-testi-stars {
  font-size: 11.5px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ta-testi-quote {
  font-size: 30px;
  line-height: 1;
  height: 12px;
  margin-top: 6px;
}

.ta-testi-quote.end {
  align-self: flex-end;
  margin-top: 2px;
}

.ta-testi-card p {
  margin: 4px 0 0;
  font-weight: 300;
  font-size: 8.4px;
  line-height: 1.33;
}

.ta-swiper-nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #9566f3;
  color: var(--ta-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ta-swiper-nav:hover {
  background: var(--ta-purple);
  transform: scale(1.08);
}

.ta-see-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 171px;
  height: 27px;
  margin: 10px auto 0;
  background: var(--ta-white);
  border: 2px solid var(--ta-purple-soft);
  border-radius: 14px;
  font-size: 12px;
  color: var(--ta-purple-text);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.ta-see-reviews:hover {
  background: var(--ta-purple);
  color: var(--ta-white);
}

/* =========================================================
   RESPONSIVE (shared pieces)
   ========================================================= */
@media (max-width: 1299.98px) {
  .ta-conf .ta-wrap { padding-left: 120px; }
  .ta-conf-title { flex-basis: 380px; }
}

@media (max-width: 1199.98px) {
  .ta-conf .ta-wrap { padding-left: 60px; padding-right: 60px; justify-content: space-between; }
  .ta-conf-title { flex-basis: auto; font-size: 40px; }
  .ta-conf-logos { grid-template-columns: repeat(3, 150px); gap: 12px 16px; }
  .ta-conf-logo { height: 94px; }
  .ta-conf-deco.l-gift-sm, .ta-conf-deco.r-bag { display: none; }
  .ta-conf-deco.l-gift { width: 110px; bottom: -26px; left: -22px; }
  .ta-conf-deco.r-gift { width: 100px; bottom: -22px; right: -14px; }
  .ta-testi-row { padding: 0 24px; gap: 16px; }
}

@media (max-width: 991.98px) {
  .ta-conf .ta-wrap { flex-direction: column; padding: 40px 24px 52px; gap: 26px; text-align: center; }
  .ta-conf-title { font-size: 36px; }
}

@media (max-width: 575.98px) {
  .ta-conf-title { font-size: 30px; }
  .ta-conf-logos { grid-template-columns: repeat(2, minmax(0, 150px)); gap: 12px; }
  .ta-conf-logo { height: 84px; border-radius: 14px; }
  .ta-conf-deco.l-gift, .ta-conf-deco.r-gift { width: 78px; bottom: -16px; }
  .ta-testi-title { font-size: 24px; padding: 0 16px; }
  .ta-testi-row { padding: 0 16px; gap: 8px; }
  .ta-swiper-nav { width: 34px; height: 34px; font-size: 16px; }
}
