.primary-gradient-border,
.primary-gradient-border-r,
.secondary-gradient-border {
  position: relative;
}

.primary-gradient-border:before,
.primary-gradient-border-r:before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(
      98.54% 262.92% at 1.46% 0%,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.25) 100%
    ),
    radial-gradient(
      106.37% 282.8% at -3.82% -3.12%,
      rgba(33, 33, 33, 0.1) 0%,
      rgba(33, 33, 33, 0) 100%
    );

  backdrop-filter: blur(21px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.primary-gradient-border-r:before {
  padding: 0px 1px 0px 0px;
}

.secondary-gradient-border:before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;

  background:
    radial-gradient(
      105.11% 279.03% at -3.82% -3.12%,
      rgba(7, 7, 7, 0.448) 0%,
      rgba(7, 7, 7, 0.007) 100%
    ),
    radial-gradient(
      129.45% 327.99% at -18.12% -17.63%,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.3) 100%
    );

  backdrop-filter: blur(21px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.primary-gradient-background {
  background: radial-gradient(
    89.36% 183.33% at 37.06% -14.58%,
    rgba(255, 255, 255, 0.112) 0%,
    rgba(255, 255, 255, 0.024) 100%
  );
}

.secondary-card {
  position: relative;
  background: radial-gradient(
    89.36% 183.33% at 37.06% -14.58%,
    rgba(255, 255, 255, 0.0504) 0%,
    rgba(255, 255, 255, 0.0108) 100%
  );
  border: 1px solid;

  border-image-source:
    radial-gradient(
        132.26% 343.8% at 1.46% 0%,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 100%
      )
      /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
    radial-gradient(
        106.37% 282.8% at -3.82% -3.12%,
        rgba(7, 7, 7, 0.7) 0%,
        rgba(7, 7, 7, 0) 100%
      )
      /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.secondary-card::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;

  background:
    radial-gradient(
      106.37% 282.8% at -3.82% -3.12%,
      #070707b3 0%,
      #07070700 100%
    ),
    radial-gradient(132.26% 343.8% at 1.46% 0%, #ffffff99 0%, #ffffff00 100%);

  backdrop-filter: blur(42px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.gradient-icon-wrapper,
.secondary-inner-card {
  position: relative;
  background: linear-gradient(14.78deg, #3c3c3c2b 3.84%, #3c3c3c75 103.86%);
}

.gradient-icon-wrapper::before,
.secondary-inner-card::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;

  background: linear-gradient(164.98deg, #3c3c3c -10.78%, #3c3c3c00 130.84%);

  backdrop-filter: blur(42px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.tertiary-card {
  position: relative;
  background: linear-gradient(14.78deg, #21212123 3.84%, #3c3c3c5e 103.86%);
}

.tertiary-card::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;

  background: linear-gradient(164.98deg, #3c3c3c -10.78%, #3c3c3c00 130.84%);

  backdrop-filter: blur(42px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.primary-card {
  position: relative;
  background: radial-gradient(
    89.36% 183.33% at 37.06% -14.58%,
    rgba(255, 255, 255, 0.0504) 0%,
    rgba(255, 255, 255, 0.0108) 100%
  );
}

.primary-card::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;

  background:
    radial-gradient(
      106.37% 282.8% at -3.82% -3.12%,
      #070707b8 0%,
      #07070700 100%
    ),
    radial-gradient(98.54% 262.92% at 1.46% 0%, #ffffffdb 0%, #ffffff00 100%);

  backdrop-filter: blur(42px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.primary-inner-card {
  position: relative;
  background: linear-gradient(14.78deg, #2121212b 3.84%, #21212175 103.86%);
}

.primary-inner-card::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(164.98deg, #3c3c3cd4 -10.78%, #3c3c3c00 130.84%);

  backdrop-filter: blur(42px);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.primary-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    164.98deg,
    rgba(60, 60, 60, 0.8) -10.78%,
    rgba(60, 60, 60, 0) 130.84%
  );
}

.light-gradient {
  position: relative;
  background: linear-gradient(
    23.79deg,
    rgba(60, 60, 60, 0.126) 13.95%,
    rgba(60, 60, 60, 0.1008) 85.18%
  );
}

.light-gradient::before {
  content: '';
  position: absolute;
  padding: 1px;
  width: 100%;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    164.98deg,
    #3c3c3c -10.78%,
    rgba(60, 60, 60, 0) 130.84%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.pill {
  background: radial-gradient(
    89.36% 183.33% at 37.06% -14.58%,
    rgba(255, 255, 255, 0.056) 0%,
    rgba(255, 255, 255, 0.012) 100%
  );

  border-radius: 24px;
  display: flex;
  height: 27px;
  font-size: 12px;
  line-height: 13px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  color: #bfbfbf;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  filter: blur(42px);

  background:
    radial-gradient(
      106.37% 282.8% at -3.82% -3.12%,
      rgba(24, 24, 24, 0.6) 0%,
      rgba(24, 24, 24, 0) 100%
    ),
    radial-gradient(
      98.54% 262.92% at 1.46% 0%,
      rgba(255, 255, 255, 0.296) 0%,
      rgba(255, 255, 255, 0.152) 100%
    );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#right-left-cards {
  animation: right-left 60s infinite linear;
}

@keyframes right-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.67%);
  }
}

.related-company {
  width: 134px;
  min-width: 134px;
  height: 40px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* StandardLogoBand - Enhanced Infinite Scroller */
#logo-band-scroller {
  animation: logo-scroll 40s linear infinite;
}

#logo-band-scroller:hover {
  animation-play-state: paused;
}

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

.logo-item {
  opacity: 0.8;
  transition: opacity 300ms ease;
}

.logo-item:hover {
  opacity: 1;
}

.profile-card {
  position: relative;
  background: linear-gradient(
    14.78deg,
    rgba(33, 33, 33, 0.17) 3.84%,
    rgba(33, 33, 33, 0.46) 103.86%
  );
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  z-index: -1;
  border-radius: inherit;

  background: linear-gradient(
    164.98deg,
    rgba(60, 60, 60, 0.76) -10.78%,
    rgba(60, 60, 60, 0) 130.84%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.case-study-card-v2 {
  background-color: transparent;
  position: relative;

  border-radius: 12px;
  height: 364px;
}

.case-study-card-v2:hover .case-study-card-v2-background {
  opacity: 0;
}

.case-study-card-v2-background {
  background: linear-gradient(
    180deg,
    rgba(60, 60, 60, 0.45) 2.89%,
    rgba(60, 60, 60, 0) 58.95%
  );
  z-index: -1;
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backdrop-filter: blur(42px);
  -webkit-backdrop-filter: blur(42px);
  -moz-backdrop-filter: blur(42px);
}

.case-study-card-v2:hover {
  background-color: transparent;
}

.case-study-card-v2 .study-title {
  color: white;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
}

.case-study-card-v2-background::before,
.case-study-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.4;
  background:
    radial-gradient(
      105.11% 279.03% at -3.82% -3.12%,
      rgba(7, 7, 7, 0.448) 0%,
      rgba(7, 7, 7, 0.007) 100%
    ),
    radial-gradient(
      129.45% 327.99% at -18.12% -17.63%,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.3) 100%
    );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@media screen and (min-width: 640px) {
  .case-study-card-v2 {
    height: 390px;
    border-radius: 16px;
  }
}

@media screen and (min-width: 768px) {
  .case-study-card-v2 {
    height: 380px;
  }
  .case-study-card-v2 .study-title {
    font-size: 20px;
    line-height: 30px;
  }
}

/* Buttons */

/* Premium Button Base */
.premium-button {
  position: relative;
  width: 100%;
  padding: 16px 32px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 16px; /* Explicit size */
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .premium-button {
    width: auto;
  }
}

.premium-button:hover {
  transform: scale(1.05);
}

.premium-button:active {
  transform: scale(0.95);
}

/* Premium Button Content Wrapper */
.premium-button-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Premium Button Primary */
.premium-button-primary {
  background-color: white;
  color: #070707;
  border: none;
}

.premium-button-primary:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Premium Button Secondary */
.premium-button-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid #2a2a2a;
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
}

.premium-button-secondary:hover {
  border-color: #3a3a3a;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Shimmer Effect */
.premium-button-shimmer {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.premium-button:hover .premium-button-shimmer {
  transform: translateX(100%);
}

/* Icon Animation in Premium Button */
.premium-button svg {
  transition: transform 0.3s ease;
}

.premium-button:hover svg {
  transform: translateX(4px);
}

/* Tertiary Button Base */
.tertiary-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px; /* Default for tertiary, adjustable */
}

/* Tertiary Ghost */
.tertiary-button-ghost {
  color: rgba(255, 255, 255, 0.6);
}

.tertiary-button-ghost:hover {
  color: white;
}

.tertiary-button-ghost .text-wrapper {
  position: relative;
}

.tertiary-button-ghost .underline-anim {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

.tertiary-button-ghost:hover .underline-anim {
  width: 100%;
}

/* Tertiary Border */
.tertiary-button-border {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.tertiary-button-border:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: scale(1.02);
}

/* Tertiary Link */
.tertiary-button-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.tertiary-button-link:hover {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* Tertiary Icon Animation */
.tertiary-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.tertiary-button:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Security Tabs Section (Shared)
   ========================================================================== */

.security-tabs-container {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.security-tabs-container::-webkit-scrollbar {
  display: none;
}

.security-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  min-width: max-content;
}

@media (min-width: 640px) {
  .security-tabs-nav {
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .security-tabs-nav {
    gap: 3rem;
  }
}

.security-tab-btn {
  position: relative;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .security-tab-btn {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .security-tab-btn {
    font-size: 1.25rem;
  }
}

.security-tab-btn:hover {
  color: white;
}

.security-tab-btn.active {
  color: white;
}

.security-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
}

.security-tab-panel {
  display: none;
}

.security-tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Customer Stories Horizontal Scroll (Shared)
   ========================================================================== */

.stories-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.stories-scroll-container::-webkit-scrollbar {
  display: none;
}

.story-card-wrapper {
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .story-card-wrapper {
    width: 380px;
  }
}

.story-card-inner {
  position: relative;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.story-card-wrapper:hover .story-card-inner {
  border-color: #2a2a2a;
}
