/* Solutions page - Cartoon Blue Style */

.credimetric-solutions-categories {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-solutions-categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="8" fill="none" stroke="rgba(116,185,255,0.1)" stroke-width="2"/><circle cx="80" cy="80" r="6" fill="none" stroke="rgba(116,185,255,0.1)" stroke-width="2"/><circle cx="80" cy="20" r="4" fill="none" stroke="rgba(116,185,255,0.1)" stroke-width="2"/></svg>')
    repeat;
  animation: float 25s infinite linear;
}

.credimetric-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.credimetric-solution-category {
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(116, 185, 255, 0.15);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.credimetric-solution-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.credimetric-solution-category:hover {
  transform: translateY(-20px) rotate(-3deg);
  box-shadow: 0 35px 70px rgba(116, 185, 255, 0.25);
  border-color: #74b9ff;
}

.credimetric-solution-popular {
  border-color: #74b9ff;
  position: relative;
}

.credimetric-solution-popular::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid rgba(116, 185, 255, 0.3);
  border-radius: 35px;
  z-index: -1;
  animation: pulse 2s infinite;
}

.credimetric-solution-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(116, 185, 255, 0.4);
  animation: bounce 2s infinite;
}

.credimetric-solution-header {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-solution-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><polygon points="25,5 30,15 40,15 32,22 35,32 25,27 15,32 18,22 10,15 20,15" fill="rgba(116,185,255,0.1)"/></svg>')
    repeat;
  background-size: 40px 40px;
}

.credimetric-solution-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.credimetric-solution-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.credimetric-solution-icon img {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 10px 20px rgba(116, 185, 255, 0.3));
  transition: transform 0.3s ease;
}

.credimetric-solution-category:hover .credimetric-solution-icon img {
  transform: scale(1.2) rotate(15deg);
}

.credimetric-solution-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2c3e50;
  position: relative;
  z-index: 1;
}

.credimetric-solution-content {
  padding: 3rem;
}

.credimetric-solution-description {
  color: #7f8c8d;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.credimetric-solution-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.credimetric-solution-features li {
  padding: 0.8rem 0;
  color: #7f8c8d;
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.credimetric-solution-features li::before {
  content: "💎";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.credimetric-solution-features li:hover {
  color: #2c3e50;
  transform: translateX(5px);
}

.credimetric-solution-pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  border-radius: 20px;
  border: 2px solid #74b9ff;
}

.credimetric-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2c3e50;
  text-shadow: 0 2px 4px rgba(116, 185, 255, 0.3);
}

.credimetric-price-period {
  color: #7f8c8d;
  font-size: 1.2rem;
  font-weight: 600;
}

.credimetric-solutions-comparison {
  padding: 100px 0;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  position: relative;
}

.credimetric-solutions-comparison::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="15" height="15" fill="rgba(255,255,255,0.1)" rx="3"/><rect x="75" y="75" width="10" height="10" fill="rgba(255,255,255,0.1)" rx="2"/></svg>')
    repeat;
  animation: slide 20s infinite linear;
}

.credimetric-solutions-comparison .credimetric-section-title {
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credimetric-solutions-comparison .credimetric-section-title::after {
  background: white;
}

.credimetric-comparison-table {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.credimetric-comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.credimetric-comparison-header > div {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.credimetric-comparison-header > div:last-child {
  border-right: none;
}

.credimetric-comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 2px solid #e8f4ff;
  transition: all 0.3s ease;
}

.credimetric-comparison-row:hover {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  transform: scale(1.01);
}

.credimetric-comparison-row:last-child {
  border-bottom: none;
}

.credimetric-comparison-feature {
  padding: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

.credimetric-comparison-value {
  padding: 1.5rem;
  text-align: center;
  color: #7f8c8d;
  font-weight: 600;
  font-size: 1.2rem;
}

.credimetric-solutions-success {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  position: relative;
}

.credimetric-solutions-success::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="5" fill="rgba(116,185,255,0.1)"/><circle cx="70" cy="70" r="3" fill="rgba(116,185,255,0.1)"/></svg>')
    repeat;
  animation: float 15s infinite linear;
}

.credimetric-success-stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.credimetric-success-story {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(116, 185, 255, 0.15);
  display: flex;
  gap: 2rem;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.credimetric-success-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
}

.credimetric-success-story:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(116, 185, 255, 0.25);
  border-color: #74b9ff;
}

.credimetric-success-image {
  position: relative;
}

.credimetric-success-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.credimetric-success-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(116, 185, 255, 0.3);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

.credimetric-success-story:hover .credimetric-success-image img {
  transform: scale(1.1) rotate(5deg);
}

.credimetric-success-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.credimetric-success-role {
  color: #74b9ff;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
}

.credimetric-success-quote {
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
}

.credimetric-success-quote::before {
  content: '"';
  font-size: 3rem;
  color: #74b9ff;
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: serif;
}

.credimetric-success-stats {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 800;
  display: inline-block;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(116, 185, 255, 0.4);
}

/* Solutions page mobile responsive */
@media (max-width: 768px) {
  .credimetric-comparison-header,
  .credimetric-comparison-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .credimetric-comparison-header > div:first-child,
  .credimetric-comparison-feature {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    font-weight: 800;
  }

  .credimetric-success-story {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .credimetric-success-image img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .credimetric-solutions-grid {
    grid-template-columns: 1fr;
  }
}
