/* 
  The Fit Class - How To Exercise Banner
  File: /themes/custom/pt_theme/css/how-to/tfc-how-to-banner.css
*/

.tfc-howto-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(45, 105, 255, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(91, 65, 255, 0.28), transparent 36%),
    linear-gradient(135deg, #06122f 0%, #071a44 48%, #0b1024 100%);
  color: #ffffff;
  padding: 72px 20px;
  margin: 0 0 42px;
  isolation: isolate;
}

.tfc-howto-hero,
.tfc-howto-hero * {
  box-sizing: border-box;
}

.tfc-howto-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.tfc-howto-hero__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
}

.tfc-howto-hero__content {
  max-width: 780px;
}

.tfc-howto-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tfc-howto-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2f6bff;
  box-shadow: 0 0 0 5px rgba(47,107,255,0.22);
}

.tfc-howto-hero__title {
  margin: 0;
  max-width: 850px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.tfc-howto-hero__intro {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
  font-weight: 500;
}

.tfc-howto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tfc-howto-hero__cta,
.tfc-howto-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tfc-howto-hero__cta {
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #1464ff 0%, #6244ff 100%);
  box-shadow: 0 18px 38px rgba(20,100,255,0.35);
}

.tfc-howto-hero__cta:hover,
.tfc-howto-hero__cta:focus {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(20,100,255,0.45);
}

.tfc-howto-hero__secondary {
  color: #ffffff;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
}

.tfc-howto-hero__secondary:hover,
.tfc-howto-hero__secondary:focus {
  color: #ffffff;
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.tfc-howto-hero__panel {
  border-radius: 26px;
  padding: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tfc-howto-hero__panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tfc-howto-hero__ai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1464ff, #6244ff);
  box-shadow: 0 14px 34px rgba(20,100,255,0.35);
}

.tfc-howto-hero__ai-icon svg {
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

.tfc-howto-hero__panel-top strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.tfc-howto-hero__panel-top span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 700;
}

.tfc-howto-hero__panel p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.tfc-howto-hero__checks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tfc-howto-hero__checks li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 800;
}

.tfc-howto-hero__checks li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #2f6bff;
}

/* Tablet */
@media (max-width: 980px) {
  .tfc-howto-hero {
    padding: 58px 18px;
  }

  .tfc-howto-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tfc-howto-hero__content {
    max-width: 100%;
  }

  .tfc-howto-hero__panel {
    max-width: 620px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .tfc-howto-hero {
    padding: 42px 16px;
    margin-bottom: 30px;
  }

  .tfc-howto-hero__title {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -0.045em;
  }

  .tfc-howto-hero__intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .tfc-howto-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .tfc-howto-hero__cta,
  .tfc-howto-hero__secondary {
    width: 100%;
    min-height: 50px;
  }

  .tfc-howto-hero__panel {
    padding: 18px;
    border-radius: 22px;
  }

  .tfc-howto-hero__panel-top {
    margin-bottom: 16px;
  }
}
