/* Colorful Scale Feature Page */
.scale-feature {
  max-width: 1200px;
  margin: 0 auto;
}

/* Vibrant Hero Section */
.scale-hero {
  background: radial-gradient(
      circle at 10% 20%,
      rgba(0, 94, 184, 0.15) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(178, 34, 52, 0.1) 0%,
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(245, 248, 252, 0.95)
    );
  padding: 50px 40px;
  border-radius: 16px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 94, 184, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.scale-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 128, 128, 0.03) 0%,
    transparent 70%
  );
  z-index: 0;
}

.scale-hero-content {
  display: flex;
  align-items: start;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.scale-logo-container {
  flex: 0 0 200px;
}

.scale-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
  border-radius: 5px;
}

.scale-hero-text p {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Colorful Highlights */
.scale-highlights {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.scale-highlight {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.scale-highlight:nth-child(3n + 1) {
  background: linear-gradient(
    135deg,
    rgba(0, 94, 184, 0.1),
    rgba(0, 94, 184, 0.2)
  );
  color: #005eb8;
}

.scale-highlight:nth-child(3n + 2) {
  background: linear-gradient(
    135deg,
    rgba(178, 34, 52, 0.1),
    rgba(178, 34, 52, 0.2)
  );
  color: #b22234;
}

.scale-highlight:nth-child(3n + 3) {
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.1),
    rgba(0, 128, 128, 0.2)
  );
  color: #008080;
}

/* Colorful Feature Tiles */
.scale-features {
  margin: 60px 0;
}

.scale-section-title {
  font-size: 2rem;
  background: linear-gradient(90deg, #005eb8, #008080);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.scale-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #005eb8, #b22234);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 30px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.feature-card:nth-child(4n + 1)::before {
  background: linear-gradient(to bottom, #005eb8, #003366);
}
.feature-card:nth-child(4n + 2)::before {
  background: linear-gradient(to bottom, #b22234, #8b0000);
}
.feature-card:nth-child(4n + 3)::before {
  background: linear-gradient(to bottom, #008080, #006666);
}
.feature-card:nth-child(4n + 4)::before {
  background: linear-gradient(to bottom, #005eb8, #b22234);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color1), var(--color2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card:nth-child(4n + 1) .feature-icon {
  --color1: #005eb8;
  --color2: #008080;
}
.feature-card:nth-child(4n + 2) .feature-icon {
  --color1: #b22234;
  --color2: #005eb8;
}
.feature-card:nth-child(4n + 3) .feature-icon {
  --color1: #008080;
  --color2: #b22234;
}
.feature-card:nth-child(4n + 4) .feature-icon {
  --color1: #005eb8;
  --color2: #003366;
}

.feature-title {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 26px;
}

.feature-desc {
  color: #666;
  line-height: 1.7;
}

/* Colorful CTA Section */
.scale-cta {
  text-align: center;
  padding: 70px 40px;
  border-radius: 16px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 94, 184, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(178, 34, 52, 0.08) 0%,
      transparent 40%
    ),
    white;
}

.scale-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005eb8, #b22234, #008080);
}

.scale-cta h2 {
  font-size: 2.2rem;
  background: linear-gradient(90deg, #005eb8, #b22234);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.scale-cta p {
  color: #666;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.scale-button {
  background: linear-gradient(135deg, #005eb8 0%, #b22234 100%);
  color: white;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 94, 184, 0.2);
  position: relative;
  overflow: hidden;
}

.scale-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 94, 184, 0.3);
}

.scale-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

.scale-button:hover::before {
  left: 100%;
}

@media (max-width: 768px) {

  .scale-hero{
    padding: 20px 20px;
    margin: 20px;
  }
  
  .scale-section-title{
    margin-left: 20px;
    margin-right: 20px;
  }

  .feature-card{
    margin: 10px;
  }

}
