/* =====================================================================
   THERMAL VALIDATION — REDESIGN v2
   Bento / glassmorphism system built strictly from IncepBio brand colors.
   Header & footer are untouched — this file only styles <main>.
   ===================================================================== */

:root {
  /* ---- Brand tokens (sourced only from the existing site palette) ---- */
  --tvr-navy-900: #010134;
  --tvr-navy-800: #001a4d;
  --tvr-navy-700: #002366;
  --tvr-navy-600: #00008b;
  --tvr-navy-500: #1a3a5c;
  --tvr-navy-400: #1a3a8c;
  --tvr-slate-600: #003d5c;

  --tvr-teal-700: #0d6b63;
  --tvr-teal-600: #008080;
  --tvr-teal-500: #0f9b8e;
  --tvr-teal-450: #1a9b89;
  --tvr-teal-400: #14b8a6;

  --tvr-white: #ffffff;
  --tvr-mist-50: #f8fafd;
  --tvr-mist-100: #e8edf5;
  --tvr-mist-200: #e5e7eb;

  --tvr-ink-700: #0a0f1e;
  --tvr-ink-600: #3d4a5c;
  --tvr-ink-500: #4a6080;
  --tvr-ink-400: #555555;
  --tvr-ink-300: #4b5563;

  --tvr-grad-brand: linear-gradient(135deg, var(--tvr-navy-800) 0%, var(--tvr-teal-700) 58%, var(--tvr-teal-400) 100%);
  --tvr-grad-brand-deep: linear-gradient(160deg, var(--tvr-navy-900) 0%, var(--tvr-navy-700) 45%, var(--tvr-teal-700) 100%);
  --tvr-grad-text: linear-gradient(92deg, var(--tvr-teal-400) 0%, var(--tvr-teal-600) 45%, var(--tvr-navy-400) 100%);
  --tvr-grad-line: linear-gradient(90deg, var(--tvr-teal-400), var(--tvr-navy-400));

  --tvr-radius-lg: 22px;
  --tvr-radius-md: 16px;
  --tvr-radius-sm: 10px;

  --tvr-shadow-soft: 0 10px 40px rgba(0, 26, 77, 0.08);
  --tvr-shadow-card: 0 18px 50px rgba(0, 20, 45, 0.12);
  --tvr-shadow-glow: 0 0 0 1px rgba(20, 184, 166, 0.18), 0 20px 60px rgba(13, 107, 99, 0.22);

  --tvr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.tvr-scope * { box-sizing: border-box; }

.tvr-scope {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--tvr-ink-600);
  overflow-x: hidden;
}

.tvr-scope em {
  font-family: "Lora", serif;
  font-style: italic;
}

/* ---------------------------------------------------------------------
   Shared primitives
   --------------------------------------------------------------------- */

.tvr-section {
  position: relative;
  padding: 96px 60px;
  overflow: hidden;
}

.tvr-section--white { background: var(--tvr-white); }

.tvr-section--gradient {
  background: var(--tvr-grad-brand-deep);
}

.tvr-section--gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.22), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(26, 58, 140, 0.35), transparent 45%);
  pointer-events: none;
}

.tvr-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tvr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.09);
  border: 1px solid rgba(20, 184, 166, 0.32);
  border-radius: 100px;
  padding: 6px 18px 6px 11px;
  margin-bottom: 20px;
}
.tvr-section--gradient .tvr-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.tvr-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tvr-teal-400);
  animation: tvr-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.tvr-eyebrow__text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tvr-teal-600);
}
.tvr-section--gradient .tvr-eyebrow__text { color: var(--tvr-teal-400); }

.tvr-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--tvr-navy-600);
  margin: 0 0 16px;
}
.tvr-section--gradient .tvr-heading { color: var(--tvr-white); }

.tvr-heading__accent {
  background: var(--tvr-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--tvr-teal-600);
}

.tvr-kicker-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.tvr-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tvr-ink-500);
  max-width: 640px;
  margin: 0;
}
.tvr-section--gradient .tvr-desc { color: rgba(255, 255, 255, 0.82); }

.tvr-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

/* Glass card base ------------------------------------------------------ */
.tvr-glass {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 26, 77, 0.07);
  border-radius: var(--tvr-radius-md);
  box-shadow: var(--tvr-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.4s var(--tvr-ease), box-shadow 0.4s var(--tvr-ease), border-color 0.4s var(--tvr-ease);
}
.tvr-section--gradient .tvr-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 10, 30, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

/* Reveal-on-scroll ------------------------------------------------------ */
.tvr-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--tvr-ease), transform 0.7s var(--tvr-ease);
}
.tvr-reveal.is-visible { opacity: 1; transform: translateY(0); }
.tvr-reveal--scale { transform: translateY(18px) scale(0.96); }
.tvr-reveal--scale.is-visible { transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .tvr-reveal, .tvr-reveal--scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tvr-eyebrow__dot { animation: none; }
}

@keyframes tvr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
@keyframes tvr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes tvr-spin-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =======================================================================
   1. HERO (Redesigned White Theme)
   ======================================================================= */
.tvr-hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.tvr-hero__field {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.tvr-hero__grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(0,77,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,77,136,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.tvr-hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.tvr-hero__glow--1 { width: 600px; height: 600px; background: rgba(0, 156, 141, 0.15); top: -200px; right: -100px; }
.tvr-hero__glow--2 { width: 500px; height: 500px; background: rgba(0, 77, 136, 0.12); bottom: -150px; left: -100px; }

.tvr-hero__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 160px 40px 80px;
}
.tvr-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tvr-hero__intro { max-width: 760px; }
.tvr-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,77,136,0.18);
  backdrop-filter: blur(10px);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: #004D88;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,77,136,0.08);
}
.tvr-hero__badge span.dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #009C8D, #002347);
  display: inline-flex; align-items: center; justify-content: center;
}
.tvr-hero__badge span.dot svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.4; }

.tvr-hero__title {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  background: linear-gradient(135deg, #002347 0%, #009C8D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tvr-hero__title em {
  font-family: var(--ff-accent, 'Inter', sans-serif); font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, #009C8D, #00D3BD 60%, #002347);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tvr-hero__desc { font-size: 18px; line-height: 1.7; color: #4A5568; max-width: 620px; margin: 0 0 36px; }
.tvr-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.tvr-hero__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}
.tvr-hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px solid rgba(0, 156, 141, 0.3);
  border-radius: 24px;
  z-index: 0;
}
.tvr-hero__image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,35,71,0.15);
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
}

/* Ticker */
.tvr-ticker {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #001A33, #003666 60%, #009C8D);
  padding: 16px 0;
}
.tvr-ticker__track {
  display: flex;
  white-space: nowrap;
  animation: tvrTicker 30s linear infinite;
}
.tvr-ticker__track span {
  display: inline-block;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 30px;
  position: relative;
}
.tvr-ticker__track span::after {
  content: '';
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #00D3BD;
}
@keyframes tvrTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* =======================================================================
   2. WHY IT MATTERS
   ======================================================================= */
.tvr-why__bento {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}
.tvr-why__main-card {
  background: var(--tvr-grad-brand-deep);
  border-radius: var(--tvr-radius-lg);
  padding: 56px 40px;
  color: var(--tvr-white);
  box-shadow: var(--tvr-shadow-card);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.tvr-why__main-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.3), transparent 70%);
  pointer-events: none;
}
.tvr-why__main-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; color: #fff; max-width: 800px; margin-inline: auto; }
.tvr-why__main-desc { font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 800px; margin-inline: auto; }

.tvr-why__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tvr-feature-card {
  background: var(--tvr-white);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  box-shadow: 0 10px 30px rgba(0, 26, 77, 0.04);
  transition: transform 0.4s var(--tvr-ease), box-shadow 0.4s var(--tvr-ease);
  position: relative;
  overflow: hidden;
}
.tvr-feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tvr-teal-400), var(--tvr-teal-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.tvr-feature-card:hover::after {
  transform: scaleX(1);
}
.tvr-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 26, 77, 0.08);
  border-color: rgba(20, 184, 166, 0.3);
}
.tvr-feature-card__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tvr-teal-500);
  margin-bottom: 24px;
}
.tvr-feature-card__icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; fill: none; }
.tvr-feature-card__content h3 { font-size: 1.25rem; font-weight: 800; color: var(--tvr-navy-800); margin: 0 0 12px; }
.tvr-feature-card__content p { font-size: 1rem; color: var(--tvr-ink-500); margin: 0; line-height: 1.6; }

/* =======================================================================
   3. CAPABILITIES
   ======================================================================= */
.tvr-cap__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.tvr-cap__image {
  border-radius: var(--tvr-radius-lg);
  overflow: hidden;
  box-shadow: var(--tvr-shadow-card);
  position: relative;
}
.tvr-cap__image img { width: 100%; height: 100%; object-fit: cover; }
.tvr-cap__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tvr-cap-card {
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-md);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,26,77,0.04);
  transition: transform 0.3s var(--tvr-ease), box-shadow 0.3s var(--tvr-ease);
  position: relative;
  overflow: hidden;
}
.tvr-cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--tvr-grad-brand);
}
.tvr-cap-card:hover {
  transform: translateX(8px);
  box-shadow: var(--tvr-shadow-soft);
  border-color: rgba(20, 184, 166, 0.2);
}
.tvr-cap-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tvr-cap-card__title { font-size: 1.3rem; font-weight: 800; color: var(--tvr-navy-900); margin: 0; }
.tvr-cap-card__num { font-size: 0.85rem; font-weight: 800; color: var(--tvr-teal-500); letter-spacing: 0.1em; background: rgba(20,184,166,0.1); padding: 6px 12px; border-radius: 20px; }
.tvr-cap-card__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.tvr-cap-card__list li {
  font-size: 0.95rem; color: var(--tvr-ink-600);
  display: flex; align-items: center; gap: 8px;
}
.tvr-cap-card__list li::before {
  content: '?';
  color: var(--tvr-teal-500); font-weight: 800; font-size: 1.1rem;
}

/* =======================================================================
   4. MAPPING STUDIES (GRID)
   ======================================================================= */
.tvr-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tvr-study-card {
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-md);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.3s var(--tvr-ease);
  position: relative;
}
.tvr-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tvr-shadow-soft);
  border-color: rgba(20, 184, 166, 0.3);
}
.tvr-study-card__icon {
  width: 48px; height: 48px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--tvr-teal-600);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tvr-study-card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.tvr-study-card__title { font-size: 1.15rem; font-weight: 800; color: var(--tvr-navy-900); margin: 0 0 12px; line-height: 1.3; }
.tvr-study-card__desc { font-size: 0.95rem; color: var(--tvr-ink-500); margin: 0; line-height: 1.6; }

/* =======================================================================
   5. ADVANTAGES (Gradient Section)
   ======================================================================= */
.tvr-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tvr-adv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px;
  border-radius: var(--tvr-radius-md);
  text-align: center;
  transition: all 0.3s var(--tvr-ease);
}
.tvr-adv-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(20,184,166,0.5);
}
.tvr-adv-card__icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--tvr-teal-400), var(--tvr-navy-400));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.tvr-adv-card__title { font-size: 1.15rem; font-weight: 800; color: #fff; margin: 0 0 12px; }
.tvr-adv-card__desc { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.6; }

/* =======================================================================
   6. WORKFLOW
   ======================================================================= */
.tvr-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.tvr-flow__step {
  display: flex;
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-md);
  box-shadow: 0 8px 30px rgba(0,26,77,0.05);
  padding: 32px;
  gap: 32px;
  align-items: center;
  transition: transform 0.3s ease;
}
.tvr-flow__step:hover { transform: translateX(8px); border-color: var(--tvr-teal-400); }
.tvr-flow__num {
  font-size: 3rem; font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,35,102,0.15);
  line-height: 1;
}
.tvr-flow__step:hover .tvr-flow__num {
  background: var(--tvr-grad-brand);
  -webkit-background-clip: text;
  -webkit-text-stroke: 0;
}
.tvr-flow__content h3 { font-size: 1.4rem; font-weight: 800; color: var(--tvr-navy-900); margin: 0 0 8px; }
.tvr-flow__content p { font-size: 1rem; color: var(--tvr-ink-500); margin: 0; line-height: 1.6; }

/* =======================================================================
   7. COMPLIANCE
   ======================================================================= */
.tvr-comp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tvr-comp-card {
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-sm);
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.tvr-comp-card:hover { transform: translateY(-5px); box-shadow: var(--tvr-shadow-soft); border-bottom: 3px solid var(--tvr-teal-500); }
.tvr-comp-card img { height: 48px; width: auto; margin-bottom: 16px; filter: grayscale(100%) opacity(0.7); transition: all 0.3s ease; }
.tvr-comp-card:hover img { filter: grayscale(0%) opacity(1); }
.tvr-comp-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--tvr-navy-900); margin: 0; }

/* =======================================================================
   8. INDUSTRIES
   ======================================================================= */
.tvr-ind__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tvr-ind-card {
  border-radius: var(--tvr-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  height: 280px;
}
.tvr-ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tvr-ind-card:hover img { transform: scale(1.08); }
.tvr-ind-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,10,30,0.9) 0%, rgba(0,10,30,0.2) 60%, transparent 100%);
}
.tvr-ind-card__content {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 24px; z-index: 2;
}
.tvr-ind-card h3 { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.tvr-ind-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; line-height: 1.5; }

/* =======================================================================
   9. WHY INCEPBIO & FAQ
   ======================================================================= */
.tvr-faq__wrap { max-width: 800px; margin: 0 auto; }
.tvr-faq-item {
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.tvr-faq-item.active { border-color: var(--tvr-teal-400); box-shadow: 0 8px 24px rgba(0,26,77,0.05); }
.tvr-faq-btn {
  width: 100%; text-align: left; background: none; border: none; padding: 24px;
  font-size: 1.15rem; font-weight: 700; color: var(--tvr-navy-900);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.tvr-faq-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--tvr-mist-100);
  display: flex; align-items: center; justify-content: center; color: var(--tvr-teal-600);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.tvr-faq-item.active .tvr-faq-icon {
  transform: rotate(45deg); background: var(--tvr-teal-500); color: #fff;
}
.tvr-faq-content { padding: 0 24px 24px; display: none; color: var(--tvr-ink-500); line-height: 1.6; }
.tvr-faq-item.active .tvr-faq-content { display: block; }

.tvr-whyus__row {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: center;
}
.tvr-whyus__image {
  border-radius: var(--tvr-radius-lg);
  overflow: hidden;
  box-shadow: var(--tvr-shadow-card);
}
.tvr-whyus__image img { width: 100%; height: auto; display: block; }
.tvr-whyus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.tvr-whyus-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  border-radius: var(--tvr-radius-md);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.tvr-whyus-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(5px);
  border-color: rgba(20,184,166,0.4);
}
.tvr-whyus-card::before {
  content: '?';
  color: var(--tvr-teal-400);
  font-weight: 800;
}

/* =======================================================================
   10. RESPONSIVE MEDIA QUERIES
   ======================================================================= */
@media (max-width: 1024px) {
  .tvr-cap__grid { grid-template-columns: 1fr; }
  .tvr-cap__image { display: none; }
  .tvr-studies__grid, .tvr-adv__grid { grid-template-columns: repeat(2, 1fr); }
  .tvr-comp__grid { grid-template-columns: repeat(2, 1fr); }
  .tvr-why__bento { grid-template-columns: 1fr; }
  .tvr-whyus__row { grid-template-columns: 1fr; }
  .tvr-whyus__image { display: none; }
}

@media (max-width: 768px) {
  .tvr-section { padding: 70px 32px; }
  .tvr-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  
  .tvr-studies__grid, .tvr-adv__grid, .tvr-ind__grid { grid-template-columns: 1fr; }
  .tvr-comp__grid { grid-template-columns: 1fr; }
  
  .tvr-flow__step { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  
  .tvr-why__main-card { padding: 32px; }
  .tvr-feature-card { padding: 20px; flex-direction: column; align-items: flex-start; }
  
  .tvr-cap-card__list { grid-template-columns: 1fr; }
  .tvr-whyus__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tvr-section { padding: 50px 20px; }
  .tvr-why__main-card { padding: 24px; }
}


/* =========================================================
   NEW LAYOUT FIXES (COMPLIANCE, WORKFLOW, CHALLENGES)
========================================================= */

/* 2-Column Row Layouts with Image on RIGHT */
.tvr-comp__row, .tvr-whyus__row, .tvr-faq__row, .tvr-chal-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tvr-comp__row > div:first-child,
.tvr-whyus__row > div:first-child,
.tvr-faq__row > div:first-child {
  order: 2; /* Force image to the right */
}

.tvr-comp__image img, .tvr-whyus__image img, .tvr-faq__image img {
  width: 100%;
  border-radius: var(--tvr-radius-lg);
  box-shadow: var(--tvr-shadow-soft);
  object-fit: cover;
}

/* Validation Workflow */
.tvr-flow__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tvr-flow-card {
  background: var(--tvr-white);
  border: 1px solid var(--tvr-mist-200);
  border-radius: var(--tvr-radius-md);
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0,26,77,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tvr-flow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tvr-shadow-card);
  border-color: var(--tvr-teal-300);
}
.tvr-flow-card__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(20, 184, 166, 0.08);
  position: absolute;
  top: 5px;
  right: 15px;
  line-height: 1;
}
.tvr-flow-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tvr-navy-900);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.tvr-flow-card__desc {
  font-size: 0.95rem;
  color: var(--tvr-ink-500);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Industry Challenges */
.tvr-challenges__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tvr-chal-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--tvr-radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(10px);
}
.tvr-chal-card--lead {
  grid-column: 1 / -1;
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.3);
  flex-direction: column;
}
.tvr-chal-card__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tvr-teal-400);
  flex-shrink: 0;
}
.tvr-chal-card__mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.tvr-chal-card__text {
  color: var(--tvr-white);
  font-size: 1rem;
  line-height: 1.5;
}
.tvr-chal-card--lead .tvr-chal-card__text {
  font-size: 1.15rem;
  font-weight: 600;
}
.tvr-chal-card__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tvr-teal-300);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Mobile Responsiveness for new layouts */
@media (max-width: 992px) {
  .tvr-comp__row, .tvr-whyus__row, .tvr-faq__row, .tvr-chal-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tvr-comp__row > div:first-child,
  .tvr-whyus__row > div:first-child,
  .tvr-faq__row > div:first-child {
    order: 0; /* Reset order on mobile so image is on top */
  }
  .tvr-flow__track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .tvr-flow__track {
    grid-template-columns: 1fr;
  }
  .tvr-challenges__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   USER FEEDBACK FIXES (SVG BLOB, HEADINGS, PILLS)
========================================================= */

/* Fix giant SVG Blob in Industry Challenges */
.tvr-chal-card__mark svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0 !important;
  display: block;
}

/* Change Headings to Brand Gradient instead of Dark Blue */
.tvr-heading {
  background: var(--tvr-grad-brand-deep) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
/* Ensure the accent word stands out, maybe different gradient or color */
.tvr-heading__accent {
  background: linear-gradient(135deg, var(--tvr-teal-400), var(--tvr-teal-600)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Change Dark Section Background from solid blue to Brand Gradient */
.tvr-section--dark {
  background: var(--tvr-grad-brand-deep) !important;
}

/* Make Compliance Pills Premium */
.tvr-comp__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.tvr-pill-card {
  background: var(--tvr-white) !important;
  border: 1px solid rgba(20, 184, 166, 0.2) !important;
  border-radius: 50px !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--tvr-navy-900) !important;
  box-shadow: 0 4px 15px rgba(0, 156, 141, 0.08) !important;
  transition: all 0.3s ease !important;
  text-align: left;
  display: flex;
  align-items: center;
}
.tvr-pill-card::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tvr-teal-500);
  margin-right: 12px;
}
.tvr-pill-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 156, 141, 0.15) !important;
  border-color: var(--tvr-teal-500) !important;
}

@media (max-width: 576px) {
  .tvr-comp__grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   USER FEEDBACK FIXES 2 (WORKFLOW CARDS & SVG SIZING)
========================================================= */

/* Fix giant SVG in Validation Lifecycle Support */
.tvr-flow__footer svg {
  width: 32px !important;
  height: 32px !important;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  fill: url(#brandGradient);
  color: var(--tvr-teal-500);
}

/* If SVG fill doesn't work with URL without defs, fallback to teal */
.tvr-flow__footer svg path {
  fill: var(--tvr-teal-500);
}

/* Gradient Borders for Workflow Cards */
.tvr-flow-card {
  border: 2px solid transparent !important;
  background-image: linear-gradient(var(--tvr-white), var(--tvr-white)), var(--tvr-grad-brand-deep) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  border-radius: var(--tvr-radius-md) !important;
}

/* Fix huge numbers in Workflow Cards */
.tvr-flow-card__num {
  font-size: 2.2rem !important;
  top: 15px !important;
  right: 20px !important;
  background: var(--tvr-grad-brand-deep) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  opacity: 0.3 !important;
}


/* =========================================================
   USER FEEDBACK FIXES 3 (TIMELINE REDESIGN)
========================================================= */

/* Reset previous grid on flow track */
.tvr-flow__track {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  padding: 40px 0 !important;
  margin-top: 40px !important;
}

/* The Central Timeline */
.tvr-flow__track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--tvr-grad-brand-deep);
  transform: translateX(-50%);
  border-radius: 4px;
  z-index: 1;
}

/* Timeline Cards */
.tvr-flow-card {
  width: calc(50% - 40px) !important;
  position: relative !important;
  margin-bottom: 40px !important;
  padding: 32px 40px !important;
  background: linear-gradient(var(--tvr-white), var(--tvr-white)) padding-box, var(--tvr-grad-brand-deep) border-box !important;
  border: 2px solid transparent !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 156, 141, 0.08) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  z-index: 2;
}

.tvr-flow-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(0, 156, 141, 0.15) !important;
}

/* Alternate Sides */
.tvr-flow-card:nth-child(odd) {
  align-self: flex-start !important;
  text-align: right !important;
}
.tvr-flow-card:nth-child(even) {
  align-self: flex-end !important;
  text-align: left !important;
}

/* Timeline Nodes (Glowing Dots) */
.tvr-flow-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: var(--tvr-white);
  border: 4px solid var(--tvr-teal-500);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.15);
  z-index: 3;
}
.tvr-flow-card:nth-child(odd)::after {
  right: -52px; /* 40px gap + 12px half dot */
}
.tvr-flow-card:nth-child(even)::after {
  left: -52px;
}

/* Fix Numbers Overlap - Make them huge watermarks */
.tvr-flow-card__num {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 8rem !important;
  font-weight: 900 !important;
  background: var(--tvr-grad-brand-deep) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  opacity: 0.04 !important; /* Very faint watermark */
  z-index: 0 !important;
  pointer-events: none !important;
  line-height: 1 !important;
}
.tvr-flow-card:nth-child(odd) .tvr-flow-card__num {
  left: 20px !important; /* Watermark on left for right-aligned text */
  right: auto !important;
}
.tvr-flow-card:nth-child(even) .tvr-flow-card__num {
  right: 20px !important; /* Watermark on right for left-aligned text */
  left: auto !important;
}

/* Ensure text is above watermark */
.tvr-flow-card__title, .tvr-flow-card__desc {
  position: relative !important;
  z-index: 1 !important;
}

/* Responsive Mobile Timeline */
@media (max-width: 768px) {
  .tvr-flow__track::before {
    left: 20px !important;
    transform: none !important;
  }
  .tvr-flow-card {
    width: calc(100% - 60px) !important;
    align-self: flex-end !important;
    text-align: left !important;
    margin-bottom: 32px !important;
  }
  .tvr-flow-card:nth-child(odd) {
    text-align: left !important; /* Override right alignment */
  }
  .tvr-flow-card::after {
    left: -52px !important; /* (60px gap from edge, line at 20px => 40px gap + 12px) */
    right: auto !important;
  }
  .tvr-flow-card__num {
    right: 20px !important;
    left: auto !important;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 4 (HORIZONTAL TIMELINE)
========================================================= */

/* Reset Track to 4-Column Grid */
.tvr-flow__track {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 60px 24px !important;
  position: relative !important;
  padding: 40px 0 0 0 !important;
  margin-top: 20px !important;
}

/* Remove the old vertical center line */
.tvr-flow__track::before {
  display: none !important;
}

/* Card Styling - Smaller and elegant */
.tvr-flow-card {
  width: 100% !important;
  position: relative !important;
  margin-bottom: 0 !important;
  padding: 24px !important;
  background: linear-gradient(var(--tvr-white), var(--tvr-white)) padding-box, var(--tvr-grad-brand-deep) border-box !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 156, 141, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  text-align: left !important;
  align-self: stretch !important; /* Reset from vertical timeline flex aligns */
}
.tvr-flow-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(0, 156, 141, 0.12) !important;
}

/* Horizontal Line connecting cards */
.tvr-flow-card::before {
  content: '';
  position: absolute;
  top: -30px; /* 30px above the card */
  left: 50%;
  width: 100%; /* stretches to the next card's center */
  height: 2px;
  background: var(--tvr-grad-brand-deep);
  z-index: 1;
}
/* Hide the line on the last item of each row (4th and 8th) */
.tvr-flow-card:nth-child(4n)::before {
  display: none !important;
}

/* Timeline Dots */
.tvr-flow-card::after {
  content: '';
  position: absolute;
  top: -36px; /* Centered on the 2px line */
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--tvr-white);
  border: 3px solid var(--tvr-teal-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
  z-index: 2;
}

/* Fix Numbers - Smaller, standard text flow */
.tvr-flow-card__num {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  font-size: 1.5rem !important; /* Smaller size */
  font-weight: 800 !important;
  background: var(--tvr-grad-brand-deep) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  opacity: 1 !important; /* Remove watermark opacity */
  display: block !important;
  margin-bottom: 8px !important;
}

/* Responsive Handling */
@media (max-width: 992px) {
  .tvr-flow__track {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px 20px !important;
  }
  .tvr-flow-card:nth-child(4n)::before {
    display: block !important; /* Restore line */
  }
  .tvr-flow-card:nth-child(2n)::before {
    display: none !important; /* Break line every 2nd card */
  }
}
@media (max-width: 768px) {
  .tvr-flow__track {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 0 !important;
  }
  .tvr-flow-card::before, .tvr-flow-card::after {
    display: none !important; /* Remove connecting lines on mobile */
  }
  .tvr-flow-card {
    width: 100% !important;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 5 (SNAKE HORIZONTAL WORKFLOW)
========================================================= */

.tvr-flow-snake {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 60px;
  padding-bottom: 20px;
}
.tvr-flow-snake::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0;
  border-top: 4px dotted var(--tvr-mist-300);
  z-index: 0;
  transform: translateY(-50%);
}

.tvr-snake-card {
  position: relative;
  background: var(--tvr-white);
  border-radius: 20px;
  padding: 40px 15px;
  text-align: center;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tvr-snake-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(20, 184, 166, 0.15);
}

/* Gradient Border Masking Technique */
.tvr-snake-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px; /* Border thickness */
  background: var(--tvr-grad-brand-deep); 
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.tvr-snake-connector {
  position: absolute;
  top: 50%;
  right: -24px; /* Push to the gap */
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--tvr-grad-brand-deep);
  border: 4px solid var(--tvr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tvr-snake-icon {
  font-size: 28px;
  color: var(--tvr-teal-500);
  margin-bottom: 20px;
}
.tvr-snake-step {
  font-size: 1.15rem;
  font-weight: 900;
  background: var(--tvr-grad-brand-deep);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.tvr-snake-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tvr-navy-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.tvr-snake-desc {
  font-size: 0.85rem;
  color: var(--tvr-ink-500);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1200px) {
  .tvr-flow-snake { gap: 12px; }
  .tvr-snake-card { padding: 30px 10px; }
  .tvr-snake-connector { right: -20px; width: 28px; height: 28px; font-size: 9px; }
}

@media (max-width: 992px) {
  .tvr-flow-snake { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .tvr-flow-snake::before {
    top: 0; bottom: 0; left: 50%; width: 0; height: 100%;
    border-top: none; border-left: 4px dotted var(--tvr-mist-300);
    transform: translateX(-50%);
  }
  .tvr-snake-connector {
    top: auto; bottom: -30px; right: 50%;
    transform: translateX(50%) rotate(90deg);
  }
}

/* =========================================================
   USER FEEDBACK FIXES 6 (HOVER GRADIENT ANIMATIONS)
========================================================= */

/* 1. Animated Gradient Border on Hover */
.tvr-snake-card::before {
  /* Use a wider gradient for animation */
  background: linear-gradient(135deg, var(--tvr-teal-500), var(--tvr-navy-900), var(--tvr-teal-400), var(--tvr-navy-800)) !important;
  background-size: 300% 300% !important;
  transition: opacity 0.3s ease !important;
}
.tvr-snake-card:hover::before {
  animation: gradientFlowBorder 3s ease infinite !important;
}

@keyframes gradientFlowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. Liquid Gradient Fill from Bottom */
.tvr-snake-card {
  overflow: hidden !important; /* Contain the fill */
}
.tvr-snake-card::after {
  content: '' !important;
  position: absolute !important;
  top: 100% !important; /* Start outside the card at the bottom */
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: var(--tvr-grad-brand-deep) !important;
  opacity: 0 !important;
  transition: top 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease !important;
  z-index: -1 !important; /* Put behind text */
  pointer-events: none !important;
}
.tvr-snake-card:hover::after {
  top: 0 !important; /* Rise up */
  opacity: 0.08 !important; /* Give a soft premium tint without breaking text contrast */
}

/* 3. Icon and Connector Animation */
.tvr-snake-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.tvr-snake-card:hover .tvr-snake-icon {
  transform: translateY(-8px) scale(1.15) !important;
}

.tvr-snake-connector {
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.tvr-snake-card:hover .tvr-snake-connector {
  transform: translateY(-50%) scale(1.2) !important;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4) !important;
}

/* =========================================================
   USER FEEDBACK FIXES 7 (HEADING CONTRAST & INDUSTRY CARDS SYNC)
========================================================= */

/* 1. Fix heading visibility on dark background (Why Choose Us) */
.tvr-section--gradient .tvr-heading {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: var(--tvr-white) !important;
}
.tvr-section--gradient .tvr-heading__accent {
  color: var(--tvr-teal-400) !important;
}

/* 2. Premium upgrade for Industry Applications cards to sync with new design */
.tvr-ind-card {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  background-image: linear-gradient(var(--tvr-navy-900), var(--tvr-navy-900)), var(--tvr-grad-brand-deep) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.tvr-ind-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.25) !important;
}

/* Image zoom effect on hover */
.tvr-ind-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.tvr-ind-card:hover img {
  transform: scale(1.1) !important;
}

/* Better Gradient Overlay for text contrast and premium feel */
.tvr-ind-card::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 60% !important; 
  background: linear-gradient(to top, rgba(7, 24, 46, 0.95) 0%, rgba(7, 24, 46, 0.4) 60%, transparent 100%) !important;
  pointer-events: none !important;
  transition: height 0.4s ease, background 0.4s ease !important;
  z-index: 1 !important;
}

.tvr-ind-card:hover::after {
  height: 80% !important;
  /* Add a subtle teal tint on hover */
  background: linear-gradient(to top, rgba(7, 24, 46, 0.95) 0%, rgba(20, 184, 166, 0.5) 60%, transparent 100%) !important;
}

/* Content positioning and animation */
.tvr-ind-card__content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 30px !important;
  z-index: 2 !important;
}

.tvr-ind-card__content h3 {
  font-size: 1.6rem !important;
  color: var(--tvr-white) !important;
  margin-bottom: 12px !important;
  font-weight: 800 !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.tvr-ind-card:hover .tvr-ind-card__content h3 {
  color: var(--tvr-teal-400) !important;
  transform: translateY(-5px) !important;
}

.tvr-ind-card__content p {
  color: var(--tvr-mist-200) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  opacity: 0.8 !important;
  transform: translateY(10px) !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.tvr-ind-card:hover .tvr-ind-card__content p {
  opacity: 1 !important;
  transform: translateY(0) !important;
  color: var(--tvr-white) !important;
}

/* =========================================================
   USER FEEDBACK FIXES 8 (INDUSTRY CARDS LAYOUT FIX)
========================================================= */

/* Fix the broken gradient and white space at the bottom */
.tvr-ind-card {
  height: 320px !important; /* Ensure consistent height */
  display: flex !important; /* Fixes random white gaps */
}

.tvr-ind-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Fix the gradient overlay - fill 100% so it doesn't cut off */
.tvr-ind-card::after {
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important; 
  background: linear-gradient(to top, rgba(7, 24, 46, 0.95) 0%, rgba(7, 24, 46, 0.3) 50%, transparent 100%) !important;
}

.tvr-ind-card:hover::after {
  height: 100% !important;
  background: linear-gradient(to top, rgba(7, 24, 46, 1) 0%, rgba(20, 184, 166, 0.5) 60%, transparent 100%) !important;
}

/* =========================================================
   USER FEEDBACK FIXES 9 (FAQ FIX & SECTION CLEANUP)
========================================================= */

/* 1. Fix FAQ Interaction */
.tvr-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tvr-faq-content {
  display: block !important; /* Override the old display:none that broke the JS */
  padding: 0 24px 24px;
  color: var(--tvr-ink-500);
  line-height: 1.6;
}
.tvr-faq-item.is-open {
  border-color: var(--tvr-teal-400); 
  box-shadow: 0 8px 24px rgba(0,26,77,0.05);
}
.tvr-faq-item.is-open .tvr-faq-icon {
  transform: rotate(45deg);
}

/* 2. Remove broken/duplicate sections from the flow */
/* The old global industries slider is broken and repetitive, hiding it completely */
.industries-slider-section {
  display: none !important;
}

/* Hide the duplicate "Advantages" section since "Why IncepBio" covers it better in the new flow */
section[aria-label="Thermal Validation Advantages"] {
  display: none !important;
}

/* =========================================================
   USER FEEDBACK FIXES 10 (REPLACE QUESTION MARKS WITH PREMIUM ICONS)
========================================================= */

/* Replace ? in Why IncepBio cards with a premium SVG checkmark */
.tvr-whyus-card::before {
  content: '' !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B8A6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0 !important;
  margin-right: 8px !important;
  transform: translateY(2px) !important;
}

/* Replace ? in Capabilities Lists with a premium SVG checkmark */
.tvr-cap-card__list li::before {
  content: '' !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0 !important;
  margin-right: 6px !important;
  transform: translateY(3px) !important;
}

/* Add a hover glow effect to the checkmarks in Why IncepBio */
.tvr-whyus-card:hover::before {
  filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.6)) !important;
}

/* =========================================================
   USER FEEDBACK FIXES 11 (INLINE CTA & DIVIDER)
========================================================= */

/* Animated Gradient Divider */
.tvr-section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tvr-teal-400), var(--tvr-navy-800), transparent);
  background-size: 200% 100%;
  animation: dividerFlow 3s linear infinite;
  opacity: 0.4;
  margin: 0;
}
@keyframes dividerFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Inline Compact CTA */
.tvr-inline-cta {
  background: linear-gradient(135deg, var(--tvr-navy-900) 0%, #011C38 100%);
  border-radius: 16px;
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.tvr-inline-cta__glow {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.tvr-inline-cta__content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.tvr-inline-cta__content h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tvr-inline-cta__content p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: 15px;
}
.tvr-inline-cta__actions {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.tvr-inline-cta .tvr-cta-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tvr-teal-400) 0%, var(--tvr-teal-600) 100%);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(20, 184, 166, 0.3);
  border: none;
}
.tvr-inline-cta .tvr-cta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.4);
}
.tvr-inline-cta .tvr-cta-btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #012a52 0%, #004d88 100%);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 77, 136, 0.3);
}
.tvr-cta-btn--outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 77, 136, 0.4);
}
@media (max-width: 768px) {
  .tvr-inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 12 (MAIN CARD REDESIGN & CAPABILITY IMAGES)
========================================================= */

/* Redesign Bento Main Card (Image + Text) */
.tvr-why__main-card {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: var(--tvr-grad-brand-deep) !important;
}
.tvr-why__main-content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tvr-why__main-image {
  flex: 1;
  min-height: 350px;
}
.tvr-why__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.tvr-why__main-title {
  text-align: left !important;
  margin-inline: 0 !important;
}
.tvr-why__main-desc {
  text-align: left !important;
  margin-inline: 0 !important;
}

/* Redesign Capability Cards to include Images */
.tvr-cap-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.tvr-cap-card__img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--tvr-gray-100);
}
.tvr-cap-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tvr-cap-card:hover .tvr-cap-card__img img {
  transform: scale(1.08);
}
.tvr-cap-card__body {
  padding: 32px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .tvr-why__main-card {
    flex-direction: column !important;
  }
  .tvr-why__main-image {
    min-height: 250px;
  }
  .tvr-why__main-image img {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .tvr-why__main-content {
    padding: 32px 24px;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 13 (BROKEN IMAGES & CAPABILITIES GRID)
========================================================= */

/* Fix Capabilities Layout: Convert from stacked right-column to a full 3-column grid */
.tvr-cap__image {
  display: none !important; /* Remove the old side image to make room */
}
.tvr-cap__grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.tvr-cap__cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  flex-direction: row !important; /* override old flex-col */
}

/* Because the cards are now side-by-side, the list should be a single column inside them */
.tvr-cap-card__list {
  grid-template-columns: 1fr !important; 
}

/* Ensure images fit perfectly inside the capability cards */
.tvr-cap-card__img {
  background: var(--tvr-gray-100); /* Placeholder color while loading */
}

@media (max-width: 1024px) {
  .tvr-cap__cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .tvr-cap__cards {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 14 (OVERLAP CARD DESIGN REFERENCE)
========================================================= */

.tvr-why__main-card {
  background: var(--tvr-white) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 40px rgba(0, 28, 56, 0.08) !important;
  position: relative;
  display: flex !important;
  flex-direction: row-reverse !important; /* Image on left, Text on right */
  align-items: center !important;
  gap: 40px !important;
  padding: 50px 50px 50px 0 !important; 
  margin-left: 60px; /* Space for the image to break out */
  margin-top: 60px; 
  margin-bottom: 40px;
}
.tvr-why__main-card::before {
  display: none !important; /* Remove old gradient overlay */
}
.tvr-why__main-image {
  flex: 0 0 45% !important;
  height: 400px !important;
  min-height: auto !important;
  position: relative;
  left: -60px; /* Break out to the left */
  box-shadow: 10px 20px 40px rgba(0,0,0,0.15) !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  z-index: 2;
}
.tvr-why__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
  border-radius: 16px !important;
}
.tvr-why__main-content {
  flex: 1;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}
.tvr-why__main-title {
  color: var(--tvr-navy-900) !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
}
.tvr-why__main-desc {
  color: var(--tvr-ink-500) !important;
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  margin-bottom: 25px !important;
}

@media (max-width: 992px) {
  .tvr-why__main-card {
    flex-direction: column-reverse !important; /* Image on top, text below */
    padding: 30px !important;
    margin-left: 0;
    margin-top: 80px;
  }
  .tvr-why__main-image {
    left: 0;
    width: 100%;
    height: 300px !important;
    margin-top: -80px; /* Break out to the top */
    margin-bottom: 30px;
  }
}

/* =========================================================
   USER FEEDBACK FIXES 15 (CTA & HEADING)
========================================================= */

.tvr-why__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--tvr-navy-900) 0%, var(--tvr-teal-500) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.2);
  margin-top: 15px;
  border: 1px solid transparent;
}
.tvr-why__cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(20, 184, 166, 0.3);
  background: linear-gradient(135deg, var(--tvr-navy-900) 0%, var(--tvr-navy-800) 100%);
  border-color: var(--tvr-teal-500);
}


/* =========================================================
   GLOBAL RESPONSIVE AUDIT FIXES (MOBILE & TABLET)
========================================================= */

@media (max-width: 1200px) {
  .tvr-container {
    max-width: 95%;
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  .tvr-hero__content h1 {
    font-size: clamp(32px, 5vw, 42px) !important;
  }
  .tvr-hero__desc {
    font-size: 16px !important;
    max-width: 100% !important;
  }
  
  /* Fix Grid Overflows */
  .tvr-studies__grid, 
  .tvr-adv__grid, 
  .tvr-whyus__row,
  .tvr-comp__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  
  /* Workflow snake fixes */
  .tvr-flow-snake {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .tvr-snake-card {
    width: 100% !important;
  }
  .tvr-snake-connector {
    display: none !important;
  }
  .tvr-flow-snake::before {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tvr-section {
    padding: 60px 0 !important;
  }
  
  .tvr-heading {
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.3 !important;
  }
  
  /* Make all grids 1 column */
  .tvr-studies__grid, 
  .tvr-adv__grid, 
  .tvr-ind__grid,
  .tvr-comp__grid,
  .tvr-whyus__row,
  .tvr-cap__cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Inline CTA Fixes */
  .tvr-inline-cta {
    flex-direction: column !important;
    text-align: center !important;
    padding: 30px 20px !important;
  }
  .tvr-inline-cta__actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .tvr-inline-cta__actions .tvr-cta-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* FAQ Fixes */
  .tvr-faq__row {
    flex-direction: column !important;
  }
  .tvr-faq__btn {
    font-size: 16px !important;
    padding: 16px 20px !important;
  }
  
  /* Hero fixes */
  .tvr-hero__badges {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  /* Bento Grid Fixes */
  .tvr-why__bento {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .tvr-why__main-card {
    flex-direction: column-reverse !important;
    padding: 24px !important;
  }
  .tvr-why__main-image {
    height: 200px !important;
    position: relative !important;
  }
  
  /* Fix images to never stretch */
  
}

@media (max-width: 480px) {
  .tvr-section {
    padding: 40px 0 !important;
  }
  .tvr-container {
    padding: 0 15px !important;
  }
  .tvr-heading {
    font-size: 24px !important;
  }
}


/* =========================================================
   USER FEEDBACK FIXES (LOGO SIZING, CTA BUTTON, FAQ IMAGE)
========================================================= */

/* Fix giant IncepBio logo in Why Us section */
.tvr-why__main-image img {
  max-width: 250px !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  /* Hide FAQ image on mobile */
  .tvr-faq__image, .tvr-faq__image-wrapper {
    display: none !important;
  }
  
  /* Prevent CTA button from wrapping into multiple lines */
  .tvr-inline-cta__actions .tvr-cta-btn {
    white-space: nowrap !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    flex: 1 1 auto;
  }
  .tvr-inline-cta__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
}


/* =========================================================
   USER FEEDBACK FIXES: HERO BADGE & OVERFLOW
========================================================= */
@media (max-width: 992px) {
  /* Prevent the hero content from centering and clipping at the top/bottom */
  .tvr-hero {
    min-height: auto !important;
    height: auto !important;
    align-items: flex-start !important;
    overflow: hidden !important; 
  }
  
  /* Add enough top padding so the fixed header does not cover the badge */
  .tvr-hero__wrap {
    padding: 120px 20px 60px !important; 
  }
  
  /* Stack the hero text and image on mobile */
  .tvr-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}
