/**
 * Performance Marketing 4U - Who Needs Service Section Stylesheet
 * High-End, Attractive & Modern E-Commerce Target Audience Showcase
 */

:root {
  --wn-primary: #ea580c;
  --wn-primary-hover: #c2410c;
  --wn-primary-glow: rgba(234, 88, 12, 0.28);
  --wn-primary-light: rgba(234, 88, 12, 0.08);
  --wn-secondary: #f59e0b;
  --wn-bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  --wn-card-bg: #ffffff;
  --wn-card-border: rgba(226, 232, 240, 0.85);
  --wn-card-hover-border: rgba(234, 88, 12, 0.4);
  --wn-text-main: #0f172a;
  --wn-text-sub: #475569;
}

/* Service-Specific Theming Overrides */
.sec-who-needs[data-theme="amazon"] {
  --wn-primary: #ea580c;
  --wn-primary-hover: #c2410c;
  --wn-primary-glow: rgba(234, 88, 12, 0.28);
  --wn-primary-light: rgba(234, 88, 12, 0.08);
  --wn-secondary: #f59e0b;
  --wn-card-hover-border: rgba(234, 88, 12, 0.45);
}

.sec-who-needs[data-theme="flipkart"] {
  --wn-primary: #2874f0;
  --wn-primary-hover: #1757c2;
  --wn-primary-glow: rgba(40, 116, 240, 0.28);
  --wn-primary-light: rgba(40, 116, 240, 0.08);
  --wn-secondary: #fb641b;
  --wn-card-hover-border: rgba(40, 116, 240, 0.45);
}

.sec-who-needs[data-theme="shopify"] {
  --wn-primary: #008060;
  --wn-primary-hover: #006048;
  --wn-primary-glow: rgba(0, 128, 96, 0.28);
  --wn-primary-light: rgba(0, 128, 96, 0.08);
  --wn-secondary: #10b981;
  --wn-card-hover-border: rgba(0, 128, 96, 0.45);
}

.sec-who-needs[data-theme="meesho"] {
  --wn-primary: #f43397;
  --wn-primary-hover: #db2777;
  --wn-primary-glow: rgba(244, 51, 151, 0.28);
  --wn-primary-light: rgba(244, 51, 151, 0.08);
  --wn-secondary: #be185d;
  --wn-card-hover-border: rgba(244, 51, 151, 0.45);
}

.sec-who-needs[data-theme="myntra"] {
  --wn-primary: #ff3f6c;
  --wn-primary-hover: #e11d48;
  --wn-primary-glow: rgba(255, 63, 108, 0.28);
  --wn-primary-light: rgba(255, 63, 108, 0.08);
  --wn-secondary: #f43f5e;
  --wn-card-hover-border: rgba(255, 63, 108, 0.45);
}

.sec-who-needs[data-theme="etsy"] {
  --wn-primary: #f16521;
  --wn-primary-hover: #d94b08;
  --wn-primary-glow: rgba(241, 101, 33, 0.28);
  --wn-primary-light: rgba(241, 101, 33, 0.08);
  --wn-secondary: #ea580c;
  --wn-card-hover-border: rgba(241, 101, 33, 0.45);
}

.sec-who-needs[data-theme="ecommerce"] {
  --wn-primary: #6366f1;
  --wn-primary-hover: #4f46e5;
  --wn-primary-glow: rgba(99, 102, 241, 0.28);
  --wn-primary-light: rgba(99, 102, 241, 0.08);
  --wn-secondary: #0ea5e9;
  --wn-card-hover-border: rgba(99, 102, 241, 0.45);
}

/* Main Section Wrapper */
.sec-who-needs {
  position: relative;
  padding: 110px 0 115px;
  background: var(--wn-bg-gradient);
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Background Animated Particle Canvas */
.who-needs-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Ambient Floating Glow Orbs */
.wn-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.wn-glow-orb.orb-left {
  width: 480px;
  height: 480px;
  background: var(--wn-primary-light);
  top: 5%;
  left: -120px;
  animation: wnPulseOrb1 10s ease-in-out infinite alternate;
}

.wn-glow-orb.orb-right {
  width: 520px;
  height: 520px;
  background: rgba(245, 158, 11, 0.07);
  bottom: 5%;
  right: -140px;
  animation: wnPulseOrb2 12s ease-in-out infinite alternate;
}

@keyframes wnPulseOrb1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(40px, 30px) scale(1.15); opacity: 0.9; }
  100% { transform: translate(20px, -20px) scale(1.05); opacity: 0.7; }
}

@keyframes wnPulseOrb2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-30px, -40px) scale(1.12); opacity: 0.85; }
  100% { transform: translate(-10px, 20px) scale(0.95); opacity: 0.6; }
}

/* Section Header Styles */
.sec-who-needs .wn-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 55px;
}

.sec-who-needs .wn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: var(--wn-card-bg);
  border: 1px solid var(--wn-card-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wn-primary);
  margin-bottom: 18px;
}

.sec-who-needs .wn-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wn-primary);
  box-shadow: 0 0 10px var(--wn-primary);
  animation: wnBlinkDot 2s infinite ease-in-out;
}

@keyframes wnBlinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.sec-who-needs .wn-title {
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--wn-text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.sec-who-needs .wn-gradient-text {
  background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.sec-who-needs .wn-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--wn-text-sub);
  margin: 0 auto;
  max-width: 780px;
}

/* Main Content Grid */
.sec-who-needs .wn-content-wrap {
  position: relative;
  z-index: 2;
}

/* Persona Cards List (Left Column) */
.wn-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wn-persona-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: var(--wn-card-bg);
  border: 1px solid var(--wn-card-border);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.wn-persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--wn-primary) 0%, var(--wn-secondary) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.wn-persona-card:hover {
  transform: translateY(-4px) scale(1.008);
  border-color: var(--wn-card-hover-border);
  box-shadow: 0 16px 36px var(--wn-primary-glow), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.wn-persona-card:hover::before {
  opacity: 1;
}

/* Card Icon Box */
.wn-card-icon-box {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--wn-primary-light);
  border: 1px solid var(--wn-card-hover-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--wn-primary);
  box-shadow: 0 6px 16px var(--wn-primary-light);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wn-persona-card:hover .wn-card-icon-box {
  background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-secondary) 100%);
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 10px 22px var(--wn-primary-glow);
}

/* Card Body */
.wn-card-body {
  flex: 1;
}

.wn-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.wn-card-pill {
  display: inline-block;
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 30px;
  background: var(--wn-primary-light);
  color: var(--wn-primary);
  border: 1px solid rgba(234, 88, 12, 0.15);
}

.wn-card-title {
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--wn-text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.wn-card-desc {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--wn-text-sub);
  margin: 0;
}

.wn-card-desc strong,
.wn-highlight-text {
  color: var(--wn-primary);
  font-weight: 600;
}

.wn-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wn-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.wn-tag-chip i {
  color: var(--wn-primary);
  font-size: 11px;
}

.wn-persona-card:hover .wn-tag-chip {
  background: #ffffff;
  border-color: rgba(234, 88, 12, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Right Column: Visual Showcase & Stock Image Frame */
.wn-showcase-wrap {
  position: relative;
  padding: 15px;
}

.wn-showcase-sticky {
  position: sticky;
  top: 100px;
}

.wn-image-frame {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 12px;
  border: 1px solid var(--wn-card-border);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.12), 0 0 35px var(--wn-primary-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.wn-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -15px rgba(15, 23, 42, 0.18), 0 0 45px var(--wn-primary-glow);
}

.wn-showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Floating Live Metric Badges around Showcase Image */
.wn-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 9px 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  z-index: 5;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.wn-float-badge i {
  font-size: 15px;
  color: var(--wn-primary);
}

.wn-float-badge.badge-top-left {
  top: -16px;
  left: -14px;
  animation: wnFloatBadge1 5.5s ease-in-out infinite;
}

.wn-float-badge.badge-top-right {
  top: -16px;
  right: -14px;
  animation: wnFloatBadge2 6s ease-in-out 0.6s infinite;
}

.wn-float-badge.badge-bottom-left {
  bottom: 125px;
  left: -16px;
  animation: wnFloatBadge2 5.8s ease-in-out 1.2s infinite;
}

.wn-float-badge.badge-bottom-right {
  bottom: 125px;
  right: -16px;
  animation: wnFloatBadge1 6.2s ease-in-out 1.8s infinite;
}

@keyframes wnFloatBadge1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes wnFloatBadge2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(1deg); }
}

/* Interactive CTA Card below showcase */
.wn-cta-card {
  margin-top: 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 24px 26px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wn-cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: var(--wn-primary-glow);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.wn-cta-title {
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.wn-cta-desc {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 16px;
}

.wn-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--wn-primary) 0%, var(--wn-secondary) 100%);
  color: #ffffff !important;
  font-family: var(--font-outfit, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px var(--wn-primary-glow);
}

.wn-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--wn-primary-glow);
  color: #ffffff !important;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .sec-who-needs {
    padding: 80px 0;
  }
  .sec-who-needs .wn-title {
    font-size: 30px;
  }
  .wn-showcase-wrap {
    margin-top: 40px;
    padding: 0;
  }
  .wn-showcase-sticky {
    position: static;
  }
  .wn-showcase-img {
    height: 320px;
  }
  .wn-float-badge.badge-top-left {
    left: 0;
    top: -10px;
  }
  .wn-float-badge.badge-top-right {
    right: 0;
    top: -10px;
  }
  .wn-float-badge.badge-bottom-left {
    left: 0;
    bottom: 110px;
  }
  .wn-float-badge.badge-bottom-right {
    right: 0;
    bottom: 110px;
  }
}

@media (max-width: 767px) {
  .sec-who-needs {
    padding: 65px 0;
  }
  .sec-who-needs .wn-title {
    font-size: 25px;
  }
  .sec-who-needs .wn-subtitle {
    font-size: 14.5px;
  }
  .wn-persona-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
  }
  .wn-card-icon-box {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .wn-card-title {
    font-size: 17px;
  }
  .wn-card-desc {
    font-size: 13.5px;
  }
  .wn-showcase-img {
    height: 250px;
  }
  .wn-float-badge {
    display: none; /* Clean presentation on mobile */
  }
  .wn-cta-card {
    padding: 20px;
  }
}
