/* Homepage performance overrides: reduce heavy visual effects per block */

/* Hero block */
.hero-bg,
.hero-bg::after,
.hero-bg-stars,
.hero-bg-media,
.hero-bg-orb,
.hero-orbits,
.orbit,
.planet .spin,
.hero-scan,
.meteor,
.hero-portal::before,
.hero-portal::after {
  animation: none !important;
}

.hero-bg-orb,
.hero-portal::before,
.hero-portal::after {
  filter: none !important;
}

/* Service / strengths / process blocks */
.services-section .reveal,
.strengths-section .rev,
.process-section .rev,
.hero-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.service-card,
.strength-card,
.mm-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
  will-change: auto !important;
}

.service-card:hover,
.strength-card:hover,
.mm-card:hover {
  transform: none !important;
}

.service-card .svc-shine,
.strength-card .shine {
  animation: none !important;
}

.service-card:hover .service-img img,
.mm-card:hover .mm-img img {
  transform: none !important;
}

/* Process / pricing / faq blocks from homepage content */
.process-section,
.pricing-section,
.faq-section,
[class*="process-section"],
[class*="pricing-section"],
[class*="faq-section"] {
  scroll-margin-top: 96px;
}

.process-section h1,
.process-section h2,
.process-section h3,
.process-section h4,
.process-section p,
.process-section a,
.pricing-section h1,
.pricing-section h2,
.pricing-section h3,
.pricing-section h4,
.pricing-section p,
.pricing-section a,
.faq-section h1,
.faq-section h2,
.faq-section h3,
.faq-section h4,
.faq-section p,
.faq-section a,
[class*="process-section"] h1,
[class*="process-section"] h2,
[class*="process-section"] h3,
[class*="process-section"] h4,
[class*="process-section"] p,
[class*="process-section"] a,
[class*="pricing-section"] h1,
[class*="pricing-section"] h2,
[class*="pricing-section"] h3,
[class*="pricing-section"] h4,
[class*="pricing-section"] p,
[class*="pricing-section"] a,
[class*="faq-section"] h1,
[class*="faq-section"] h2,
[class*="faq-section"] h3,
[class*="faq-section"] h4,
[class*="faq-section"] p,
[class*="faq-section"] a {
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.process-section .rev,
.pricing-section .rev,
.faq-section .rev,
[class*="process-section"] [data-aos],
[class*="pricing-section"] [data-aos],
[class*="faq-section"] [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.process-section *,
.pricing-section *,
.faq-section *,
[class*="process-section"] *,
[class*="pricing-section"] *,
[class*="faq-section"] * {
  will-change: auto !important;
}

.faq-item,
.pricing-card,
.process-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Professional unified card system for homepage blocks */
.service-card,
.strength-card,
.pricing-card,
.faq-item,
.process-card {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(10, 16, 30, 0.92)) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32) !important;
  overflow: hidden !important;
}

.service-card:hover,
.strength-card:hover,
.pricing-card:hover,
.faq-item:hover,
.process-card:hover {
  border-color: rgba(96, 165, 250, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(37, 99, 235, 0.16) !important;
}

.service-card h3,
.strength-card h3,
.pricing-card h3,
.faq-item h3,
.process-card h3 {
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.service-card p,
.strength-card p,
.pricing-card p,
.faq-item p,
.process-card p {
  font-family: "Be Vietnam Pro", sans-serif !important;
  color: #b8c1d9 !important;
  line-height: 1.65 !important;
}

/* Profile card redesign (Core team section) */
.author-section .author-card {
  width: min(360px, 92vw) !important;
  min-height: 500px !important;
  margin: 0 auto !important;
  border-radius: 24px !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  background: linear-gradient(180deg, #0c162d 0%, #081125 100%) !important;
  box-shadow: 0 18px 40px rgba(2, 8, 24, 0.52) !important;
  padding: 18px 18px 16px !important;
}

.author-section .author-card .card-header {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.author-section .author-card .ovr {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8) !important;
  color: #eff6ff !important;
  font-weight: 900 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35) !important;
}

.author-section .author-card .pos {
  color: #93c5fd !important;
  letter-spacing: 0.08em !important;
  font-size: 0.72rem !important;
}

.author-section .author-card .flag {
  width: 18px !important;
  opacity: 0.9;
}

.author-section .author-card .player-box {
  width: 132px !important;
  height: 132px !important;
  margin: 8px auto 14px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid rgba(56, 189, 248, 0.85) !important;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18), 0 14px 24px rgba(2, 8, 24, 0.5) !important;
  background: #0f172a !important;
}

.author-section .author-card .player-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.author-section .author-card .player-info {
  text-align: center !important;
  margin-bottom: 10px !important;
}

.author-section .author-card .p-name {
  margin: 0 !important;
  font-size: 1.75rem !important;
  line-height: 1.1 !important;
  color: #38bdf8 !important;
  text-transform: none !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.author-section .author-card .skills-container {
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 14px 14px 10px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(96, 165, 250, 0.24) !important;
  background: rgba(10, 20, 40, 0.65) !important;
}

.author-section .author-card .s-item {
  margin-bottom: 10px !important;
}

.author-section .author-card .s-lbl {
  color: #dbeafe !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.author-section .author-card .s-val {
  color: #60a5fa !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.author-section .author-card .s-bar-bg {
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(148, 163, 184, 0.22) !important;
}

.author-section .author-card .s-bar-fill {
  border-radius: 999px !important;
  background: linear-gradient(90deg, #38bdf8, #2563eb) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
}

/* Force all cards (left/center/right) keep same outer frame style */
.author-section .author-viewport,
.author-section .author-track {
  align-items: stretch !important;
}

.author-section .author-track .author-card,
.author-section .author-card,
.author-section .author-card.is-center,
.author-section .author-card.is-left,
.author-section .author-card.is-right {
  width: min(360px, 92vw) !important;
  min-height: 520px !important;
  opacity: 0.76 !important;
  transform: scale(0.92) !important;
  filter: none !important;
  border-radius: 22px !important;
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
  background: radial-gradient(130% 100% at 50% 0%, rgba(30, 64, 175, 0.2), #0b1220 48%, #090f1b 100%) !important;
  box-shadow: 0 24px 48px rgba(3, 8, 20, 0.55), 0 0 24px rgba(37, 99, 235, 0.16) !important;
  clip-path: none !important;
  position: relative !important;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease !important;
}

.author-section .author-card.is-center {
  opacity: 1 !important;
  transform: scale(1.04) !important;
  z-index: 12 !important;
  box-shadow: 0 26px 56px rgba(3, 8, 20, 0.68), 0 0 26px rgba(37, 99, 235, 0.18) !important;
}

/* Rectangle rounded + animated blue neon border */
.author-section .author-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 22px !important;
  padding: 1.5px !important;
  background: conic-gradient(
    from 0deg,
    rgba(56, 189, 248, 0.2),
    rgba(37, 99, 235, 1),
    rgba(56, 189, 248, 0.2),
    rgba(37, 99, 235, 1),
    rgba(56, 189, 248, 0.2)
  ) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
  animation: none !important;
}

.author-section .author-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 22px !important;
  pointer-events: none !important;
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.35), 0 0 44px rgba(56, 189, 248, 0.2) inset !important;
}

/* Hide 99 / 98 / 97 score boxes */
.author-section .author-card .ovr {
  display: none !important;
}

.author-section .author-card .flag {
  display: none !important;
}

.author-section .author-card .card-header {
  justify-content: flex-start !important;
  width: 100% !important;
  padding-left: 8px !important;
}

/* Continuous testimonials carousel + faded edges */
.marketing-section .testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.marketing-section .testimonials-wrapper::before,
.marketing-section .testimonials-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 90px);
  z-index: 6;
  pointer-events: none;
}

.marketing-section .testimonials-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0f172a 0%, rgba(15, 23, 42, 0) 100%);
}

.marketing-section .testimonials-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0f172a 0%, rgba(15, 23, 42, 0) 100%);
}

.marketing-section .testimonials-track {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Keep original marketing content, only restyle to match site palette */
.marketing-section {
  background: var(--c-cream) !important;
  color: var(--c-ink) !important;
}

.marketing-section * {
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.marketing-section .marketing-title,
.marketing-section h2,
.marketing-section h3 {
  color: var(--c-ink) !important;
}

.marketing-section .marketing-badge {
  background: rgba(45, 122, 79, 0.1) !important;
  border-color: rgba(45, 122, 79, 0.25) !important;
  color: var(--c-green) !important;
}

.marketing-section .testimonials-wrapper::before {
  background: linear-gradient(to right, var(--c-cream) 0%, rgba(250, 248, 243, 0) 100%) !important;
}

.marketing-section .testimonials-wrapper::after {
  background: linear-gradient(to left, var(--c-cream) 0%, rgba(250, 248, 243, 0) 100%) !important;
}

.marketing-section .testimonial-card {
  background: #fff !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.marketing-section .testimonial-text,
.marketing-section .author-info p {
  color: var(--c-muted) !important;
}

/* HF Testimonials section */
#hf-testimonials {
  background: linear-gradient(180deg, #021133 0%, #031a4d 55%, #021133 100%);
  padding: clamp(60px, 8vw, 110px) 0;
}

#hf-testimonials,
#hf-testimonials * {
  font-family: "Be Vietnam Pro", sans-serif !important;
}

#hf-testimonials .hf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

#hf-testimonials .hf-testi-header {
  text-align: center;
  margin-bottom: 28px;
}

#hf-testimonials .hf-label {
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#hf-testimonials .hf-heading {
  color: #f8fbff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-top: 10px;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(2, 10, 30, 0.45);
}

#hf-testimonials .hf-body {
  color: #cddaf8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

#hf-testimonials .hf-testi-marquee {
  position: relative;
  overflow: hidden;
}

#hf-testimonials .hf-testi-marquee::before,
#hf-testimonials .hf-testi-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 7vw, 110px);
  pointer-events: none;
  z-index: 4;
}

#hf-testimonials .hf-testi-marquee::before {
  left: 0;
  background: linear-gradient(to right, #021133 0%, rgba(2, 17, 51, 0) 100%);
}

#hf-testimonials .hf-testi-marquee::after {
  right: 0;
  background: linear-gradient(to left, #021133 0%, rgba(2, 17, 51, 0) 100%);
}

#hf-testimonials .hf-testi-track {
  display: flex;
  gap: 20px;
  padding: 8px clamp(16px, 3vw, 28px) 12px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

#hf-testimonials .hf-testi-card {
  flex: 0 0 clamp(280px, 30vw, 360px);
  background: #fff;
  border: 1px solid #e2e8e4;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(20, 50, 30, 0.09);
  padding: 18px;
}

#hf-testimonials .hf-testi-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

#hf-testimonials .hf-testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

#hf-testimonials .hf-testi-name {
  font-weight: 800;
  color: #1a1f1c;
}

#hf-testimonials .hf-testi-role {
  font-size: 0.86rem;
  color: #5a6660;
}

#hf-testimonials .hf-testi-quote {
  color: #33403a;
  line-height: 1.65;
  margin: 8px 0 12px;
}

#hf-testimonials .hf-testi-stars {
  color: #e8a020;
  letter-spacing: 2px;
}

.author-section .author-card .pos {
  margin-left: -10px !important;
}

/* Reduce expensive blur/shadow on mobile and mid devices */
@media (max-width: 1280px) {
  .hero-banner,
  .service-card,
  .strength-card,
  .mm-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
    filter: none !important;
  }
}
