/* Customers Page — Stripe-Inspired 2026 Aesthetic */

.custHero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) var(--space-5) clamp(3.5rem, 5vw, 5rem);
  background: radial-gradient(circle at 50% -10%, rgba(31, 107, 69, 0.16) 0%, rgba(31, 107, 69, 0.03) 60%, transparent 85%),
              var(--background);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .custHero {
  background: radial-gradient(circle at 50% -10%, rgba(62, 207, 122, 0.18) 0%, rgba(62, 207, 122, 0.04) 65%, transparent 90%),
              var(--background);
}

.custHeroInner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.custBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-border);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.custBadge .pulseDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: custPulse 2s infinite ease-in-out;
}

@keyframes custPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.custTitle {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.custTitle .headingAccent {
  background: linear-gradient(135deg, var(--primary) 0%, #3ecf7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.custSubtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

/* Key Stats Bar in Hero */
.custStatsBar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.custStatCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.custStatCard:hover {
  transform: translateY(-3px);
  border-color: var(--primary-soft-border);
  box-shadow: var(--shadow-lg);
}

.custStatVal {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.35rem;
  font-family: var(--font);
}

.custStatLabel {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.2rem;
}

.custStatDesc {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

/* Featured Customer Spotlight Section */
.custSection {
  padding: clamp(4rem, 6vw, 6rem) var(--space-5);
  position: relative;
}

.custSection--alt {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.custContainer {
  max-width: 1200px;
  margin: 0 auto;
}

.custSpotlightCard {
  background: linear-gradient(135deg, var(--card) 0%, rgba(31, 107, 69, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .custSpotlightCard {
  background: linear-gradient(135deg, var(--card) 0%, rgba(62, 207, 122, 0.07) 100%);
}

.spotlightHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.spotlightBadge {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spotlightIndustry {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spotlightTitle {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.spotlightQuote {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--foreground);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary);
}

.spotlightAuthor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.authorAvatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #15452d 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.authorInfoName {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--foreground);
}

.authorInfoRole {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.spotlightStatsBox {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.spotlightMetricMain {
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.spotlightMetricSub {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.spotlightTagList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.spotlightTag {
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* Category Filter Bar */
.custFilterHeader {
  text-align: center;
  margin-bottom: 2.5rem;
}

.custSectionEyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.custSectionTitle {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.custFilterTabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.custFilterBtn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custFilterBtn:hover {
  border-color: var(--primary-soft-border);
  color: var(--foreground);
}

.custFilterBtn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(31, 107, 69, 0.25);
}

/* Case Studies Grid */
.custGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.custCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.custCard:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft-border);
  box-shadow: var(--shadow-lg);
}

.custCardTop {
  margin-bottom: 1.25rem;
}

.custCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.custCompanyBadge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.companyLogoLetters {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-border);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.companyName {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
}

.categoryTag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.custMetricPill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-border);
  color: var(--primary);
  font-weight: 800;
  font-size: var(--text-sm);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.custCardTitle {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.custCardSummary {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.custQuoteSnippet {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--foreground);
  border-left: 2px solid var(--primary);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.custCardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.custAuthorMini {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.custAuthorMini strong {
  color: var(--foreground);
  display: block;
}

.btnQuickView {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btnQuickView:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Video Showcase Section */
.custVideoShowcase {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.showcaseTabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.showcaseTabBtn {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcaseTabBtn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.showcasePlayerBox {
  background: #0f1411;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.playerGraphic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(62, 207, 122, 0.2);
  border: 2px solid #3ecf7a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(62, 207, 122, 0.3);
}

.playerGraphic svg {
  fill: #3ecf7a;
  margin-left: 4px;
}

.playerTitle {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.playerSub {
  font-size: var(--text-sm);
  color: #a0aec0;
  max-width: 500px;
  line-height: 1.5;
}

/* Impact Deep Dive Section */
.impactGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.impactCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-align: left;
}

.impactIcon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.impactTitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.impactDesc {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* Quote Wall / Testimonials Grid */
.quotesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.quoteCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.quoteText {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--foreground);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.quoteAuthorBox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quoteAvatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quoteAuthorName {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--foreground);
}

.quoteAuthorTitle {
  font-size: 0.72rem;
  color: var(--muted-foreground);
}

/* Enterprise Assurance Grid */
.enterpriseBox {
  background: linear-gradient(135deg, rgba(31, 107, 69, 0.08) 0%, rgba(31, 107, 69, 0.02) 100%);
  border: 1px solid var(--primary-soft-border);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.enterpriseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.entFeatureItem {
  text-align: center;
}

.entFeatureIcon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.entFeatureTitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}

.entFeatureDesc {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Story Preview Modal Drawer */
.custModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.custModal.active {
  opacity: 1;
  pointer-events: auto;
}

.custModalContent {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.custModal.active .custModalContent {
  transform: translateY(0);
}

.custModalClose {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.custModalClose:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.modalHeader {
  margin-bottom: 1.5rem;
}

.modalCompany {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.modalTitle {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.modalMetricBar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
}

.modalMetricItem {
  font-size: var(--text-xs);
  color: var(--primary);
  font-weight: 700;
}

.modalSectionTitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 1.25rem 0 0.5rem 0;
}

.modalText {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted-foreground);
}

.modalResultsList {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem 0;
}

.modalResultsList li {
  font-size: var(--text-sm);
  color: var(--foreground);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modalResultsList li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .custSpotlightCard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .custGrid {
    grid-template-columns: 1fr;
  }
  .custStatsBar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quotesGrid {
    grid-template-columns: 1fr;
  }
}
