/* =========================================================
   GroundTruth — Animated Hero
   All selectors scoped under .gt-hero to avoid theme clashes.
   ========================================================= */

.gt-hero {
  --gt-bg: #F7F6EE;
  --gt-heading: #0E1A15;
  --gt-subhead: #1AA079;
  --gt-feature: #16231E;
  --gt-primary: #24D8AA;
  --gt-cta-text: #0A3F36;
  --gt-badge: #18303D;
  --gt-badge-arrow: #00C46A;
  --gt-accent: #20D2B5;
  --gt-label-icon: #0A3F36;
  --gt-label-text: #0E1A15;
  --gt-frame-radius-tl: 140px;
  --gt-transition: 600ms;
  --gt-dot-opacity: 1;
  --gt-ease: cubic-bezier(.22,.61,.36,1);

  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  font-family: Poppins;
}
.gt-hero *,
.gt-hero *::before,
.gt-hero *::after { box-sizing: border-box; }

/* subtle dot texture */
.gt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.5 * var(--gt-dot-opacity));
  background-image: radial-gradient(rgba(10,63,54,.10) 1.1px, transparent 1.2px);
  background-size: 22px 22px;
  z-index: 0;
}

.gt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

/* ===================== LEFT CONTENT ===================== */
.gt-hero__heading {
  margin: 0;
  color: var(--gt-heading);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.gt-hero__subheading {
  margin: clamp(16px, 2vw, 24px) 0 0px;
}
.gt-hero__subheading p { 
  margin: 0; 
}

.gt-hero__features {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column
}
.gt-hero__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gt-feature);
  font-weight: 600;
  font-size: clamp(.9rem, 1vw, 1rem);
  white-space: nowrap;
  margin-bottom: 0;
}
.gt-hero__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: var(--gt-feature);
}

.gt-hero__cta-wrap { margin-top: clamp(24px, 3vw, 36px); }
.gt-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 12px;
  background: var(--gt-primary);
  color: var(--gt-cta-text);
  font-family: Poppins !important;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--gt-ease), box-shadow .2s var(--gt-ease), filter .2s var(--gt-ease);
  box-shadow: 0 10px 24px -12px rgba(10,63,54,.45);
}
.gt-hero__cta:hover { transform: translateY(-2px); font-weight: 600; color: color: var(--gt-cta-text); background-color: #16937e; box-shadow: 0 16px 30px -12px rgba(10,63,54,.5); }
.gt-hero__cta-icon { flex: 0 0 auto; width: 22px; height: 22px; fill: var(--gt-cta-text); }

/* ===================== RIGHT MEDIA ===================== */
.gt-hero__media { position: relative; }
.gt-hero__stage {
  position: relative;
  width: 100%;
}

/* arched image frame */
.gt-hero__frame {
  position: relative;
  margin-left: auto;
  width: 88%;
  aspect-ratio: 106 / 100;
  border-radius: var(--gt-frame-radius-tl) 28px 28px 28px;
  overflow: hidden;
  background: #d9d6cd;
}
.gt-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--gt-transition) ease;
  will-change: opacity;
}
.gt-hero__slide.is-active { opacity: 1; }
.gt-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gt-hero__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(10,63,54,.12), rgba(32,210,181,.18)),
    repeating-linear-gradient(45deg, rgba(10,63,54,.05) 0 12px, transparent 12px 24px);
  color: var(--gt-label-icon);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
}

/* floating badge (top-left, straddling the arch) */
.gt-hero__badge {
  position: absolute;
  top: 4%;
  left: 75px;
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  z-index: 3;
  filter: drop-shadow(0 12px 22px rgba(10,63,54,.35));
}
.gt-hero__badge svg { width: 100%; height: 100%; display: block; }
.gt-badge-circle { fill: var(--gt-badge); }
.gt-badge-spark  { fill: #fff; transform-origin: 45px 24px; animation: gt-twinkle 2.6s ease-in-out infinite; }
.gt-badge-line   { fill: none; stroke: var(--gt-badge-arrow); stroke-width: 2.7; stroke-linecap: round; }

@keyframes gt-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.7); }
}

/* ===================== LABELS (non-clickable) ===================== */
.gt-hero__labels {
  position: absolute;
  left: 0;
  bottom: 12%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.4vw, 16px);
  width: 78%;
  pointer-events: none;
}
.gt-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 100px 6px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(32,210,181,.45);
  color: var(--gt-label-icon);
  opacity: .9;
  transform: scale(.95);
  transform-origin: left center;
  transition:
    transform var(--gt-transition) var(--gt-ease),
    padding var(--gt-transition) var(--gt-ease),
    background var(--gt-transition) var(--gt-ease),
    box-shadow var(--gt-transition) var(--gt-ease),
    opacity var(--gt-transition) var(--gt-ease);
}
.gt-hero__label-icon {
  flex: 0 0 auto;
  display: inline-flex;
  width: 26px;
  height: 26px;
  transition: width var(--gt-transition) var(--gt-ease), height var(--gt-transition) var(--gt-ease);
}
.gt-hero__label-icon .gt-hero__svg { width: 100%; height: 100%; display: block; }
.gt-ic-primary { fill: var(--gt-label-icon); }
.gt-ic-accent  { fill: var(--gt-accent); }
.gt-ic-white   { fill: #fff; }

.gt-hero__label-text {
  font-size: .95rem;
  line-height: 1;
  color: var(--gt-label-icon);
  white-space: nowrap;
  transition: font-size var(--gt-transition) var(--gt-ease), color var(--gt-transition) var(--gt-ease);
}

/* active label "pops" */
.gt-hero__label.is-active {
  background: #fff;
  border-color: rgba(32,210,181,.55);
  opacity: 1;
  transform: scale(1);
  padding: 10px 110px 10px 22px;
  box-shadow: 0 22px 45px -14px rgba(10,63,54,.30);
}
.gt-hero__label.is-active .gt-hero__label-icon { width: 40px; height: 40px; }
.gt-hero__label.is-active .gt-hero__label-text { font-size: 1.18rem; color: var(--gt-label-text); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .gt-hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 44px);
  }
  .gt-hero__badge{
      display: none;
  }
  .gt-hero__media { order: 2; }
  .gt-hero__frame { width: 100%; max-width: 560px; margin: 0 auto; }
  .gt-hero__labels { width: 86%; }
}

@media (max-width: 768px) {
  
}

@media (max-width: 560px) {
  .gt-hero__frame { --gt-frame-radius-tl: 84px; }
  .gt-hero__label { padding: 8px 14px; gap: 9px; border-radius: 12px; }
  .gt-hero__label-icon { width: 22px; height: 22px; }
  .gt-hero__label.is-active { padding: 12px 18px; }
  .gt-hero__label.is-active .gt-hero__label-icon { width: 32px; height: 32px; }
  .gt-hero__label.is-active .gt-hero__label-text { }
  .gt-hero__features { gap: 0 }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .gt-hero__slide,
  .gt-hero__label,
  .gt-hero__label-icon,
  .gt-hero__label-text,
  .gt-hero__cta { transition: none !important; }
  .gt-badge-spark { animation: none !important; opacity: 1 !important; transform: none !important; }
}
