/* ============================================================
   FrugalNova - trust.css
   Client logos \00B7  Testimonials \00B7  Case study results
   ============================================================ */

/* --- SHARED SECTION CHROME --- */
.trust-section-label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .85rem;
}

/* ======================================================
   1. CLIENT LOGOS STRIP
   ====================================================== */
.client-logos {
  background: var(--clr-surface-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 1.1rem 0;
  overflow: hidden;
}

.client-logos-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.client-logos-label {
  flex-shrink: 0;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  padding: 0 2rem 0 0;
  white-space: nowrap;
  border-right: 1px solid var(--clr-border);
  margin-right: 2rem;
}

.client-logos-track-wrap {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.client-logos-track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  animation: logoScroll 28s linear infinite;
  width: max-content;
}

.client-logos-track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  opacity: .85;
  transition: all .3s var(--ease-out);
  cursor: default;
}

.client-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.client-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(26,46,68,0.05);
  transition: all .3s var(--ease-out);
}

.client-logo-item:hover .client-logo-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 6px 14px rgba(26,46,68,0.08);
}

.client-logo-name {
  font-size: .92rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .3s var(--ease-out);
}

/* Logo accent colours - Premium Glassy Look */
.client-logo-item[data-color="blue"]   .client-logo-icon { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(59,130,246,.03)); color: #3b82f6; border: 1px solid rgba(59,130,246,.25); }
.client-logo-item[data-color="blue"]:hover .client-logo-name { color: #3b82f6; }
.client-logo-item[data-color="blue"]:hover .client-logo-icon { border-color: rgba(59,130,246,.45); }

.client-logo-item[data-color="green"]  .client-logo-icon { background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(34,197,94,.03));  color: #22c55e; border: 1px solid rgba(34,197,94,.25); }
.client-logo-item[data-color="green"]:hover .client-logo-name { color: #22c55e; }
.client-logo-item[data-color="green"]:hover .client-logo-icon { border-color: rgba(34,197,94,.45); }

.client-logo-item[data-color="purple"] .client-logo-icon { background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(139,92,246,.03)); color: #8b5cf6; border: 1px solid rgba(139,92,246,.25); }
.client-logo-item[data-color="purple"]:hover .client-logo-name { color: #8b5cf6; }
.client-logo-item[data-color="purple"]:hover .client-logo-icon { border-color: rgba(139,92,246,.45); }

.client-logo-item[data-color="orange"] .client-logo-icon { background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(249,115,22,.03)); color: #f97316; border: 1px solid rgba(249,115,22,.25); }
.client-logo-item[data-color="orange"]:hover .client-logo-name { color: #f97316; }
.client-logo-item[data-color="orange"]:hover .client-logo-icon { border-color: rgba(249,115,22,.45); }

.client-logo-item[data-color="rose"]   .client-logo-icon { background: linear-gradient(135deg, rgba(181,36,106,.15), rgba(181,36,106,.03)); color: var(--clr-accent); border: 1px solid rgba(181,36,106,.25); }
.client-logo-item[data-color="rose"]:hover .client-logo-name { color: var(--clr-accent); }
.client-logo-item[data-color="rose"]:hover .client-logo-icon { border-color: rgba(181,36,106,.45); }

.client-logo-item[data-color="teal"]   .client-logo-icon { background: linear-gradient(135deg, rgba(20,184,166,.15), rgba(20,184,166,.03)); color: #14b8a6; border: 1px solid rgba(20,184,166,.25); }
.client-logo-item[data-color="teal"]:hover .client-logo-name { color: #14b8a6; }
.client-logo-item[data-color="teal"]:hover .client-logo-icon { border-color: rgba(20,184,166,.45); }


/* ======================================================
   2. TESTIMONIALS (3D Glassmorphic & Premium)
   ====================================================== */
.testimonials {
  padding: 4rem 0;
  background: #0a0e17; /* Dark premium background */
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Background Glowing Orbs & Particles */
.testi-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.testi-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-1 { width: 450px; height: 450px; background: rgba(181, 36, 106, 0.2); top: -15%; left: -10%; }
.orb-2 { width: 350px; height: 350px; background: rgba(26, 46, 68, 0.4); bottom: -10%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: rgba(181, 36, 106, 0.1); top: 30%; left: 45%; animation-delay: -10s; }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}

.testi-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #fff;
  opacity: 0.6;
  animation: floatParticle 8s infinite linear;
}

.p-1 { top: 20%; left: 15%; animation-duration: 12s; }
.p-2 { top: 70%; left: 80%; animation-duration: 15s; }
.p-3 { top: 40%; left: 90%; animation-duration: 9s; }
.p-4 { top: 80%; left: 30%; animation-duration: 11s; }

@keyframes floatParticle {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}

.testimonials-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.glow-text {
  color: var(--clr-accent-light, #C94985);
  text-shadow: 0 0 12px rgba(181, 36, 106, 0.3);
}

.testi-title {
  color: #fff;
}

.testi-title em {
  color: var(--clr-accent-light, #C94985);
  font-style: normal;
}

.testi-desc {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid, .perspective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  perspective: 1200px;
}

/* -- 3D Card Wrappers -- */
.testi-card-wrapper {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}

.testi-card {
  position: relative;
  height: 100%;
  background: rgba(26, 46, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* 3D Floating Animations */
.3d-float {
  animation: subtleFloat 6s ease-in-out infinite;
}

.3d-float-alt {
  animation: subtleFloatAlt 7s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-10px) rotateX(2deg) rotateY(-1deg); }
}

@keyframes subtleFloatAlt {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-12px) rotateX(-2deg) rotateY(1deg); }
}

/* Glassmorphism Layer */
.card-glass-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  z-index: -1;
}

/* Animated Border Gradient */
.card-border-gradient {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02), rgba(255,255,255,0.1));
  z-index: -2;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.featured-gradient {
  background: linear-gradient(45deg, rgba(181, 36, 106, 0.3), rgba(26, 46, 68, 0.4), rgba(181, 36, 106, 0.3));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

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

/* Hover Effects for 3D Tilt */
.testi-card-wrapper:hover .testi-card {
  transform: translateY(-10px) translateZ(20px) rotateX(4deg) rotateY(-2deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(181, 36, 106, 0.08);
  animation-play-state: paused;
}

.testi-card-wrapper:hover .card-border-gradient {
  background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(181, 36, 106, 0.3), rgba(255,255,255,0.15));
}

.testi-card-wrapper:hover .featured-gradient {
  box-shadow: 0 0 15px rgba(181, 36, 106, 0.2);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) translateZ(20px);
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1.2rem;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(181,36,106,0.5);
  white-space: nowrap;
}

/* Card Content Parallax */
.card-content {
  transform: translateZ(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Quote mark */
.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: .5;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}

/* Stars */
.testi-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 0.75rem;
  transform: translateZ(20px);
}

.testi-star {
  color: #fbbf24;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 5px rgba(251,191,36,0.5));
}

/* Quote text */
.testi-text {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
  margin-bottom: 1rem;
}

/* Result pill */
.testi-result {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(80, 200, 120, 0.08);
  border: 1px solid rgba(80, 200, 120, 0.15);
  border-radius: 100px;
  padding: .3rem .8rem;
  font-size: .68rem;
  font-weight: 700;
  color: #50c878;
  margin-top: auto;
  margin-bottom: 0;
  letter-spacing: .03em;
  transform: translateZ(15px);
  backdrop-filter: blur(4px);
}

.testi-result-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50c878;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(80, 200, 120, 0.6);
}

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  transform: translateZ(25px);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.initials-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testi-author-info strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .1rem;
}

.testi-author-info span {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.65);
}

.testi-company-badge {
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: .2rem .5rem;
  font-size: .6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* ======================================================
   3. RESULTS / CASE STUDY STRIP
   ====================================================== */
.results-strip {
  padding: 2.5rem 0;
  background: var(--clr-primary);
  position: relative;
  overflow: hidden;
}

.results-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(181,36,106,.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(79,142,247,.15) 0%, transparent 45%);
  pointer-events: none;
}

.results-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.results-strip-inner {
  position: relative;
  z-index: 2;
}

.results-strip-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(181,36,106,.2);
  border: 1px solid rgba(181,36,106,.4);
  border-radius: 100px;
  padding: .45rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f7a8cc;
  margin-bottom: 1rem;
}

.results-strip-title {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.results-strip-title em {
  font-style: normal;
  color: #f7a8cc;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.result-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(247,168,204,.6), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.result-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-4px);
}

.result-card:hover::before { opacity: 1; }

.result-industry {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,168,204,.8);
  margin-bottom: .9rem;
}

.result-project {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

/* Before / After */
.result-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.result-ba-col {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  padding: .75rem;
}

.result-ba-col--after {
  background: rgba(181,36,106,.15);
  border: 1px solid rgba(181,36,106,.3);
}

.result-ba-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .35rem;
}

.result-ba-col--after .result-ba-label { color: rgba(247,168,204,.7); }

.result-ba-value {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}

.result-ba-col--after .result-ba-value {
  color: #fff;
  font-weight: 500;
}

/* Key metrics */
.result-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.result-metric {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.result-metric-number {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.result-metric-number.positive { color: #4ade80; }
.result-metric-number.accent   { color: #f7a8cc; }

.result-metric-label {
  font-size: .67rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Tech used */
.result-tech {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.result-tech-tag {
  font-size: .65rem;
  font-weight: 600;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: .18rem .5rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}

/* CTA row under results */
.results-cta-row {
  text-align: center;
  margin-top: 3rem;
}

.results-cta-row p {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-top: .75rem;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-card-wrapper:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
  .result-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .client-logos-label {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testi-card-wrapper:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-card:last-child {
    grid-column: auto;
  }
  .result-ba {
    grid-template-columns: 1fr;
  }
  .testimonials { padding: 4.5rem 0; }
  .results-strip { padding: 3.5rem 0; }
}

/* ======================================================
   4. WHO WE HELP -- Futuristic Glassmorphic Panels
   ====================================================== */

/* -- Section wrapper -- */
.wh-section {
  padding: 3rem 0 3.5rem;
  background: #f4f5f8;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.wh-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,46,68,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow orbs */
.wh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.wh-orb--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(181,36,106,.13) 0%, transparent 70%);
  top: -100px; left: -80px;
  animation: whOrbDrift 12s ease-in-out infinite alternate;
}
.wh-orb--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59,130,246,.1) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  animation: whOrbDrift 15s ease-in-out infinite alternate-reverse;
}
@keyframes whOrbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Faint angled grid lines */
.wh-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(26,46,68,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,46,68,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent);
}

.wh-container { position: relative; z-index: 2; }

/* -- Header -- */
.wh-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.wh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .9rem;
}
.wh-eyebrow-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: wh-dot-pulse 2s ease-in-out infinite;
}
.wh-eyebrow-dot:last-child { animation-delay: 1s; }
@keyframes wh-dot-pulse {
  0%,100% { transform: scale(1); opacity:.6; }
  50%      { transform: scale(1.5); opacity:1; }
}

.wh-title {
  font-family: var(--font-headings);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.wh-title em { font-style: normal; color: var(--clr-accent); }

.wh-subtitle {
  font-size: .93rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* -- Panels grid -- staggered heights via align-items start -- */
.wh-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  align-items: start;
}

/* -- Base panel -- */
.wh-panel {
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 2px 4px rgba(26,46,68,.04),
    0 8px 24px rgba(26,46,68,.07),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22,1,.36,1),
              box-shadow .45s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}

/* Panels 1, 3, 4 sit slightly lower than panel 2 (featured) */
.wh-panel:not(.wh-panel--featured) { margin-top: 1.2rem; }

.wh-panel:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 4px 8px rgba(26,46,68,.06),
    0 20px 50px rgba(26,46,68,.13),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

/* -- Gradient border layer (pseudo-element conic trick) -- */
.wh-panel-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.9),
    rgba(181,36,106,.18),
    rgba(255,255,255,0.5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s;
}
.wh-panel:hover .wh-panel-border { opacity: 0; }

/* Animated conic border for featured + on hover of others */
.wh-panel-border--animated,
.wh-panel:hover .wh-panel-border {
  background: conic-gradient(
    from var(--angle, 0deg),
    rgba(181,36,106,.7),
    rgba(59,130,246,.5),
    rgba(139,92,246,.5),
    rgba(181,36,106,.7)
  );
  animation: wh-border-spin 4s linear infinite;
  opacity: 1;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes wh-border-spin { to { --angle: 360deg; } }

/* -- Coloured glow that appears behind panel on hover -- */
.wh-panel-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
  transition: opacity .5s var(--ease-out);
}
.wh-panel:hover .wh-panel-glow { opacity: 1; }

.wh-panel--d2c    .wh-panel-glow { background: radial-gradient(circle, rgba(239,68,68,.2) 0%, transparent 70%); }
.wh-panel--startup .wh-panel-glow { background: radial-gradient(circle, rgba(59,130,246,.22) 0%, transparent 70%); }
.wh-panel--sme    .wh-panel-glow { background: radial-gradient(circle, rgba(34,197,94,.2) 0%, transparent 70%); }
.wh-panel--saas   .wh-panel-glow { background: radial-gradient(circle, rgba(139,92,246,.2) 0%, transparent 70%); }

/* -- Featured panel -- */
.wh-panel--featured {
  background: rgba(255,255,255,0.85);
  box-shadow:
    0 2px 4px rgba(26,46,68,.05),
    0 16px 48px rgba(26,46,68,.11),
    inset 0 1px 0 rgba(255,255,255,1);
  margin-top: 0;
}
.wh-panel--featured:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow:
    0 4px 8px rgba(26,46,68,.07),
    0 24px 60px rgba(59,130,246,.18),
    0 0 0 1px rgba(59,130,246,.15),
    inset 0 1px 0 rgba(255,255,255,1);
}

/* "Most Popular" floating tag */
.wh-featured-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--clr-accent), #3b82f6);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem 1rem;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(59,130,246,.35);
  z-index: 3;
}

/* -- Panel inner padding -- */
.wh-panel-inner {
  position: relative;
  z-index: 2;
  padding: 1.3rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

/* -- Top row: icon orb + badge -- */
.wh-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* -- Icon orb -- */
.wh-icon-orb {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.wh-panel:hover .wh-icon-orb { transform: scale(1.15) rotate(-6deg); }

.wh-icon-orb--red    { background: linear-gradient(135deg,rgba(239,68,68,.18),rgba(239,68,68,.05)); box-shadow: 0 0 0 1px rgba(239,68,68,.22), 0 4px 12px rgba(239,68,68,.12); }
.wh-icon-orb--blue   { background: linear-gradient(135deg,rgba(59,130,246,.18),rgba(59,130,246,.05)); box-shadow: 0 0 0 1px rgba(59,130,246,.22), 0 4px 12px rgba(59,130,246,.12); }
.wh-icon-orb--green  { background: linear-gradient(135deg,rgba(34,197,94,.18),rgba(34,197,94,.05)); box-shadow: 0 0 0 1px rgba(34,197,94,.22), 0 4px 12px rgba(34,197,94,.12); }
.wh-icon-orb--purple { background: linear-gradient(135deg,rgba(139,92,246,.18),rgba(139,92,246,.05)); box-shadow: 0 0 0 1px rgba(139,92,246,.22), 0 4px 12px rgba(139,92,246,.12); }

.wh-icon-emoji { font-size: 1.3rem; line-height: 1; display: block; }

/* Pulsing ring around icon */
.wh-icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1.5px solid transparent;
  opacity: 0;
  transition: opacity .4s;
}
.wh-panel:hover .wh-icon-ring { opacity: 1; animation: wh-ring-pulse .9s ease-out forwards; }
.wh-icon-orb--red    .wh-icon-ring { border-color: rgba(239,68,68,.5); }
.wh-icon-orb--blue   .wh-icon-ring { border-color: rgba(59,130,246,.5); }
.wh-icon-orb--green  .wh-icon-ring { border-color: rgba(34,197,94,.5); }
.wh-icon-orb--purple .wh-icon-ring { border-color: rgba(139,92,246,.5); }
@keyframes wh-ring-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* -- Badge chip (top-right) -- */
.wh-panel-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: rgba(26,46,68,.06);
  border: 1px solid rgba(26,46,68,.1);
  border-radius: 100px;
  padding: .22rem .7rem;
  transition: background .3s, color .3s, border-color .3s;
}
.wh-panel:hover .wh-panel-badge {
  background: rgba(181,36,106,.08);
  border-color: rgba(181,36,106,.2);
  color: var(--clr-accent);
}

/* -- Panel title -- */
.wh-panel-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: .5rem;
}

/* -- Panel description -- */
.wh-panel-desc {
  font-size: .8rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: .9rem;
  flex: 1;
}

/* -- Key stat display -- */
.wh-panel-stat {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: .9rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: rgba(26,46,68,.04);
  border: 1px solid rgba(26,46,68,.08);
  transition: background .3s, border-color .3s;
}
.wh-panel:hover .wh-panel-stat {
  background: rgba(181,36,106,.05);
  border-color: rgba(181,36,106,.15);
}
.wh-stat-num {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color .3s;
}
.wh-panel:hover .wh-stat-num { color: var(--clr-accent); }
.wh-stat-label {
  font-size: .68rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* -- Tech chips (featured panel only) -- */
.wh-panel-chips {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.wh-panel-chips span {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(59,130,246,.85);
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 5px;
  padding: .18rem .55rem;
  transition: background .3s, border-color .3s;
}
.wh-panel--featured:hover .wh-panel-chips span {
  background: rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.3);
}

/* -- CTA link -- */
.wh-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-decoration: none;
  width: fit-content;
  position: relative;
  padding-bottom: 2px;
}
.wh-panel-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.wh-panel:hover .wh-panel-cta::after { transform: scaleX(1); }

.wh-cta-arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.wh-panel:hover .wh-cta-arrow { transform: translateX(5px); }

/* ======================================================
   RESPONSIVE -- WHO WE HELP
   ====================================================== */
@media (max-width: 1024px) {
  .wh-panels {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .wh-panel:not(.wh-panel--featured) { margin-top: 0; }
  .wh-panel--featured { grid-column: 1 / -1; }
  .wh-panel--featured .wh-panel-inner { padding: 1.4rem 1.3rem; }
}

@media (max-width: 640px) {
  .wh-panels {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .wh-panel--featured { grid-column: auto; }
  .wh-section { padding: 2.5rem 0 3rem; }
}


