/**
 * Banking Industry Page Styles
 * Page: industries/banking.html
 *
 * Page-specific styles for the Banking AI Solutions page.
 * Shared classes (hero-gradient, gradient-text, feature-card, feature-icon,
 * capabilities-section, outcome-card, outcome-stat, use-case-card, cta-section)
 * are defined in strongly.css and excluded here.
 */

/* Button gradients with vendor prefixes */
.btn-gradient {
  background: #05A34A;
  background: -webkit-linear-gradient(90deg, #05A34A, #6571FF);
  background: -moz-linear-gradient(90deg, #05A34A, #6571FF);
  background: -o-linear-gradient(90deg, #05A34A, #6571FF);
  background: linear-gradient(90deg, #05A34A, #6571FF);
  border: none;
  color: white;
  color: #ffffff;
}

.btn-gradient:hover {
  background: #048a3e;
  background: -webkit-linear-gradient(90deg, #048a3e, #5560e6);
  background: -moz-linear-gradient(90deg, #048a3e, #5560e6);
  background: -o-linear-gradient(90deg, #048a3e, #5560e6);
  background: linear-gradient(90deg, #048a3e, #5560e6);
  -webkit-transform: translateY(-1px);
  -moz-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  -o-transform: translateY(-1px);
  transform: translateY(-1px);
}

.fraud-detection-demo {
  background: #1a1a1a;
  background-color: #1a1a1a;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #4fff4f;
  font-family: 'Fira Code', 'Courier New', monospace;
}

.alert-pulse {
  -webkit-animation: pulse 2s infinite;
  -moz-animation: pulse 2s infinite;
  -o-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% { -webkit-transform: scale(1); transform: scale(1); }
  50% { -webkit-transform: scale(1.05); transform: scale(1.05); }
  100% { -webkit-transform: scale(1); transform: scale(1); }
}

@-moz-keyframes pulse {
  0% { -moz-transform: scale(1); transform: scale(1); }
  50% { -moz-transform: scale(1.05); transform: scale(1.05); }
  100% { -moz-transform: scale(1); transform: scale(1); }
}

@-o-keyframes pulse {
  0% { -o-transform: scale(1); transform: scale(1); }
  50% { -o-transform: scale(1.05); transform: scale(1.05); }
  100% { -o-transform: scale(1); transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.banking-card {
  border: none;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.banking-card:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.agent-workflow {
  position: relative;
  height: 500px;
  background: white;
  background-color: #ffffff;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  padding: 2rem;
  overflow: hidden;
}

.workflow-node {
  position: absolute;
  width: 200px;
  padding: 1rem;
  background: white;
  background-color: #ffffff;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.workflow-node:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.connector-line {
  position: absolute;
  height: 2px;
  background: #05A34A;
  background: -webkit-linear-gradient(90deg, #05A34A, #6571FF);
  background: -moz-linear-gradient(90deg, #05A34A, #6571FF);
  background: -o-linear-gradient(90deg, #05A34A, #6571FF);
  background: linear-gradient(90deg, #05A34A, #6571FF);
  -webkit-animation: flowLine 2s infinite linear;
  -moz-animation: flowLine 2s infinite linear;
  -o-animation: flowLine 2s infinite linear;
  animation: flowLine 2s infinite linear;
}

@-webkit-keyframes flowLine {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

@-moz-keyframes flowLine {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

@-o-keyframes flowLine {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

@keyframes flowLine {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}

.metric-highlight {
  background: white;
  background-color: #ffffff;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.metric-highlight:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.compliance-badge {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.5rem 1rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  background: rgba(37, 99, 235, 0.1);
  background-color: rgba(37, 99, 235, 0.1);
  color: #05A34A;
  margin: 0.25rem;
}

.mobile-ml-0 {
  top: 200px;
  left: 5%;
}

.mobile-mr-0 {
  top: 200px;
  right: 5%;
}

/* Flexbox fallbacks */
.d-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.align-items-center {
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
  -moz-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.align-items-start {
  -webkit-box-align: start !important;
  -webkit-align-items: flex-start !important;
  -moz-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.justify-content-between {
  -webkit-box-pack: justify !important;
  -webkit-justify-content: space-between !important;
  -moz-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

@media (max-width: 991.98px) {
  .d-flex.gap-3 {
    flex-direction: column;
  }

  .d-flex.gap-3 .btn {
    width: 100%;
  }
  .mobile-mt-4 {
    margin-top: 40px;
  }

  .mobile-mt-15 {
    margin-top: 130px;
  }

  .mobile-ml-0 {
    top: 170px;
    right: 0%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .mobile-mr-0 {
    top: 160px;
    right: 0%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .mobile-h-550 {
    height: 550px;
  }
}

/* Browser-specific fixes */
@supports (-ms-ime-align: auto) {
  /* Edge specific styles */
  .hero-gradient {
    background: #212A3A;
  }
  .gradient-text {
    background: none;
    color: #05A34A;
  }
  .connector-line {
    background: #05A34A;
  }
}

/* IE11 specific fixes */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .d-flex {
    display: -ms-flexbox !important;
  }
  .agent-workflow {
    display: block;
  }
}
