/* ==========================================================================
   Plaid Matrix Fund - Custom Stylesheet (Bootstrap 5 Companion)
   ========================================================================== */

:root {
  --pm-bg-dark: #000000;
  --pm-bg-header: #1A1A1A;
  --pm-bg-card: #12111A;
  --pm-bg-card-hover: #181722;
  --pm-accent-cyan: #06FFE2;
  --pm-accent-blue: #0072CE;
  --pm-accent-glow: rgba(6, 255, 226, 0.35);
  --pm-text-white: #ffffff;
  --pm-text-muted: #cfd3dc;
  --pm-border-color: rgba(255, 255, 255, 0.08);
  --pm-font-heading: 'Montserrat', sans-serif;
  --pm-font-body: 'Montserrat', sans-serif;
}

/* --- Global Reset & Base --- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pm-bg-dark);
  color: var(--pm-text-white);
  font-family: var(--pm-font-body);
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-family: var(--pm-font-heading);
  font-size: 45px;
  font-weight: 400;
  line-height: 62px;
  color: var(--pm-text-white);
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--pm-font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 38px;
  color: var(--pm-accent-cyan);
}

a {
  color: var(--pm-accent-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ffffff;
}

p {
  font-family: var(--pm-font-body);
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
  color: var(--pm-text-white);
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--pm-text-muted) !important;
}

/* --- Text Gradients --- */
.gradient-text {
  background: linear-gradient(90deg, #06FFE2 0%, #0072CE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-accent {
  background: linear-gradient(90deg, var(--pm-accent-cyan) 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Buttons --- */
.btn-pm-primary,
.btn-pm-outline {
  color: #FFFFFF !important;
  background: transparent;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #06FFE2;
  border-radius: 18px 18px 18px 18px;
  padding: 15px 50px 15px 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-pm-primary:hover,
.btn-pm-outline:hover {
  background: #06FFE2;
  color: #000000 !important;
  border-color: #06FFE2;
  box-shadow: 0 0 25px rgba(6, 255, 226, 0.45);
  transform: translateY(-2px);
}

.btn-pm-header {
  color: #FFFFFF !important;
  background: transparent;
  border: 1px solid #06FFE2;
  border-radius: 18px;
  padding: 10px 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pm-header:hover {
  background: #06FFE2;
  color: #000000 !important;
  box-shadow: 0 0 20px rgba(6, 255, 226, 0.4);
  transform: translateY(-1px);
}

/* --- Header / Sticky Navbar --- */
.pm-navbar {
  background: #1A1A1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  transition: all 0.3s ease;
  z-index: 1050;
}

.pm-navbar.scrolled {
  padding: 12px 0;
  background: #1A1A1A;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.pm-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.pm-nav-link {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff !important;
  margin: 0 16px;
  padding: 6px 0 !important;
  position: relative;
  transition: color 0.2s ease;
}

.pm-nav-link:hover,
.pm-nav-link.active {
  color: #06FFE2 !important;
}

.pm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #06FFE2;
  transition: width 0.3s ease;
}

.pm-nav-link:hover::after,
.pm-nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  color: #ffffff;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem var(--pm-accent-glow);
}

/* --- Video Container & Overlay --- */
.pm-video-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.pm-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.pm-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.75) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.4) 65%, #000000 100%);
  z-index: 2;
}

.banner-video-section .pm-video-overlay {
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.15) 70%, #000000 100%);
}

#calltoaction .pm-video-overlay {
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.6) 70%, #000000 100%);
}

.pm-video-content {
  position: relative;
  z-index: 3;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 94vh;
  padding-top: 150px;
  padding-bottom: 90px;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 62px;
  margin-bottom: 24px;
}

.hero-lead {
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 34px;
  color: #ffffff;
  margin-bottom: 35px;
}

/* --- Hero Stacked Circular Images with Gentle Floating Animation --- */
.hero-stacked-images {
  position: relative;
  min-height: 580px;
  width: 100%;
}

.hero-card-img {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #06FFE2;
  box-shadow: 0 0 25px rgba(6, 255, 226, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card-img.card-1 {
  width: 220px;
  height: 220px;
  top: 10px;
  right: 50px;
  z-index: 3;
  animation: pmFloat1 7s ease-in-out infinite;
}

.hero-card-img.card-2 {
  width: 210px;
  height: 210px;
  top: 200px;
  right: 190px;
  z-index: 2;
  animation: pmFloat2 8.5s ease-in-out infinite;
}

.hero-card-img.card-3 {
  width: 210px;
  height: 210px;
  top: 390px;
  right: 40px;
  z-index: 1;
  animation: pmFloat3 7.2s ease-in-out infinite;
}

.hero-card-img:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 45px rgba(6, 255, 226, 0.7);
  animation-play-state: paused;
}

@keyframes pmFloat1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes pmFloat2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(14px) rotate(-1.5deg); }
}

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

/* --- Section Global Layout --- */
.section-padding {
  padding: 130px 0;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 62px;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  color: var(--pm-text-white);
  margin-bottom: 1.25rem;
}

/* --- CMU Partnership Section --- */
.cmu-partnership-section {
  background: radial-gradient(circle at 50% 15%, #160f2e 0%, #0a0618 50%, #000000 100%);
}

.cmu-map-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(6, 255, 226, 0.08);
  border: 1px solid rgba(6, 255, 226, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
}

.cmu-map-img:hover {
  transform: scale(1.015);
  border-color: rgba(6, 255, 226, 0.45);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(6, 255, 226, 0.25);
}

/* --- What We Do Section (Deep Purple Aura) --- */
#whatdowedo {
  background: radial-gradient(ellipse at 12% 40%, #290d4c 0%, #15062c 42%, #080313 75%, #000000 100%);
  position: relative;
  overflow: visible;
}

/* --- Portfolio Section --- */
#ourportfolio {
  background: radial-gradient(ellipse at 50% 30%, #17092b 0%, #0b0416 48%, #000000 88%);
  position: relative;
}

/* --- Who We Are Section --- */
#whoweare {
  background: radial-gradient(ellipse at 12% 35%, #240c4a 0%, #120526 40%, #04020a 75%, #000000 100%);
  position: relative;
}

/* --- What We Do Cards --- */
.what-card {
  background-color: #F5F5F726;
  border-radius: 26px;
  padding: 46px 36px 0px 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}

.what-card:hover {
  background-color: rgba(245, 245, 247, 0.2);
  transform: translateY(-6px);
  border-color: rgba(6, 255, 226, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.what-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 44px;
  margin-bottom: 24px;
  color: var(--pm-accent-cyan);
}

.what-card p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #ffffff;
  margin-bottom: 35px;
}

.what-card-img {
  width: 92%;
  border-radius: 20px;
  margin: 0 auto -50px;
  display: block;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 5;
}

/* --- What We Do Button Wrapper (Manual Perspective Balancing) --- */
.what-we-do-btn-wrapper {
  margin-top: 125px;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* --- Intermediate Video Banners --- */
.banner-video-section {
  min-height: 420px;
}

.banner-video-title {
  font-family: "Montserrat", sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 62px;
}

/* --- Infinite Portfolio Carousel (3D Flip Cards) --- */
.portfolio-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 35px 0;
}

.portfolio-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.portfolio-flip-card {
  flex: 0 0 460px;
  width: 460px;
  min-width: 460px;
  height: 480px;
  perspective: 1200px;
  user-select: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.4s ease;
  opacity: 0.82;
}

.portfolio-flip-card:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.portfolio-flip-card.is-center {
  opacity: 1;
  transform: scale(1.03);
}

.portfolio-flip-card.is-center:hover {
  transform: scale(1.03) translateY(-4px);
}

.portfolio-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
}

/* Solo se gira cuando tiene la clase .is-flipped (centrado activo) */
.portfolio-flip-card.is-flipped .portfolio-flip-inner {
  transform: rotateY(180deg);
}

.portfolio-flip-front,
.portfolio-flip-back {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

/* FRONT: Just the centered company logo */
.portfolio-flip-front {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  background: #ffffff;
  z-index: 2;
  transform: rotateY(0deg);
}

.portfolio-flip-front .portfolio-front-logo {
  max-width: 260px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Botón indicador para girar en la cara frontal */
.portfolio-flip-trigger {
  position: absolute;
  bottom: 22px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.portfolio-flip-trigger svg {
  color: #0284c7;
  transition: transform 0.3s ease;
}

.portfolio-flip-card:hover .portfolio-flip-trigger {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-flip-card:hover .portfolio-flip-trigger svg {
  color: #06FFE2;
  transform: rotate(180deg);
}

/* BACK: Full details content */
.portfolio-flip-back {
  transform: rotateY(180deg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1a1a1a;
  background: #ffffff;
  z-index: 1;
}

/* Botón cerrar/volver en la cara trasera */
.portfolio-flip-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
  padding: 0;
}

.portfolio-flip-close:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: rotate(90deg);
}

.portfolio-logo-wrapper {
  height: 55px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.portfolio-logo {
  max-height: 48px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.portfolio-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #222222;
  margin-bottom: 28px;
  min-height: 90px;
}

.portfolio-desc p,
.portfolio-desc a {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #1a1a1a !important;
}

.portfolio-founder-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.portfolio-founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-founder-info {
  flex: 1;
}

.portfolio-founder-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  margin: 0 0 2px;
}

.portfolio-founder-meta {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.3;
}

.portfolio-partner-badge {
  max-height: 26px;
  max-width: 140px;
  width: auto;
  margin-top: 6px;
  display: block;
  object-fit: contain;
}

.portfolio-linkedin-icon {
  width: 32px;
  height: 32px;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-linkedin-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Carousel Nav Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1A1A1A;
  color: #ffffff;
  border: 1px solid #06FFE2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: #06FFE2;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(6, 255, 226, 0.4);
}

/* --- Who We Are / GP Profiles --- */
.gp-card {
  background-color: #FFFFFF26;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 60px 50px 50px 50px;
  height: 100%;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gp-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  border-color: rgba(6, 255, 226, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.gp-avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 28px;
  border: none;
  display: block;
}

.gp-name {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: var(--pm-accent-cyan);
  margin-bottom: 18px;
}

.gp-bio {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 27px;
  color: #ffffff;
  margin-bottom: 28px;
}

/* Stats Block */
.stats-row-wrapper {
  margin-top: 110px;
  margin-bottom: 60px;
}

.stat-box {
  text-align: center;
  padding: 10px 15px;
  background: transparent;
  border: none;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 100px;
  font-weight: 500;
  line-height: 110px;
  margin-bottom: 0;
  display: block !important;
  width: 100%;
  text-align: center;
}

.stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 50px;
  text-transform: lowercase;
  margin-bottom: 24px;
  display: block !important;
  width: 100%;
  text-align: center;
}

.stat-desc {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  color: #ffffff;
  margin: 0;
  max-width: 330px;
}

/* --- Footer --- */
.pm-footer {
  background: #000000;
  border-top: 1px solid var(--pm-border-color);
  padding: 70px 0 35px;
}

.footer-nav-link {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #9fa4b2;
  margin-bottom: 12px;
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--pm-accent-cyan);
}

.footer-copyright {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #6c7280;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
  .hero-card-img.card-1 { right: 20px; width: 190px; height: 190px; }
  .hero-card-img.card-2 { right: 140px; width: 180px; height: 180px; top: 180px; }
  .hero-card-img.card-3 { right: 10px; width: 180px; height: 180px; top: 350px; }
}

@media (max-width: 991px) {
  h1, h2, .hero-title, .section-title, .banner-video-title {
    font-size: 34px !important;
    line-height: 48px !important;
  }
  p, .hero-lead {
    font-size: 18px !important;
    line-height: 30px !important;
  }
  .hero-stacked-images {
    min-height: 420px;
    margin-top: 40px;
  }
  .hero-card-img.card-1 { width: 160px; height: 160px; top: 0; right: 20px; }
  .hero-card-img.card-2 { width: 150px; height: 150px; top: 130px; right: 120px; }
  .hero-card-img.card-3 { width: 150px; height: 150px; top: 260px; right: 20px; }
  .portfolio-card {
    flex: 0 0 380px;
    width: 380px;
    min-width: 380px;
  }
  .carousel-btn.prev { left: 5px; }
  .carousel-btn.next { right: 5px; }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  h1, h2, .hero-title, .section-title, .banner-video-title {
    font-size: 28px !important;
    line-height: 40px !important;
  }
  p, .hero-lead {
    font-size: 16px !important;
    line-height: 26px !important;
  }
  .btn-pm-primary, .btn-pm-outline {
    padding: 12px 30px;
    font-size: 14px;
  }
  .portfolio-flip-card {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    min-width: calc(100vw - 48px);
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* --- Professional Scroll Reveal Animations --- */
.pm-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.pm-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pm-reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.pm-reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.pm-reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.pm-reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.pm-reveal-delay-1 { transition-delay: 0.12s; }
.pm-reveal-delay-2 { transition-delay: 0.24s; }
.pm-reveal-delay-3 { transition-delay: 0.36s; }

/* Stats Glow Pulse when Revealed */
.stat-box.is-revealed .stat-number {
  animation: statGlowPulse 1.8s ease-out;
}

@keyframes statGlowPulse {
  0% { text-shadow: 0 0 0 rgba(6, 255, 226, 0); }
  50% { text-shadow: 0 0 35px rgba(6, 255, 226, 0.8); }
  100% { text-shadow: 0 0 0 rgba(6, 255, 226, 0); }
}

/* Button Subtle Neon Sheen */
.btn-pm-primary,
.btn-pm-outline {
  position: relative;
  overflow: hidden;
}

.btn-pm-primary::before,
.btn-pm-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 255, 226, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.btn-pm-primary:hover::before,
.btn-pm-outline:hover::before {
  left: 140%;
}
