/* 
  Essential styles for Metod AI landing page
  This file contains all custom styles beyond what Tailwind provides
*/

/* Progress indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: #6D23E2;
  z-index: 60;
  transition: width 0.3s;
  width: 0;
}

/* Glassmorphism effect */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: white;
  background-color: #6D23E2;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  transform: translateY(0);
}

.btn-primary:hover {
  background-color: #561BB6;
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5), 0 0 0 1.5px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: #6D23E2;
  background-color: rgba(239, 231, 252, 1);
  border: 1px solid rgba(217, 199, 248, 1);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  transform: translateY(0);
}

.btn-secondary:hover {
  background-color: rgba(217, 199, 248, 1);
  transform: translateY(-0.25rem);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  transform: translateY(0);
}

.btn-white-outline:hover {
  background-color: white;
  color: #6D23E2;
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Card Styles */
.service-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: all 0.5s;
  transform: translateY(0);
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

.industry-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industry-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

.glass-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s;
  transform: translateY(0);
}

.glass-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

.trust-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 100%;
  padding: 1.5rem;
  border-top: 4px solid #6D23E2;
  transition: all 0.5s;
  transform: translateY(0);
}

.trust-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

/* Trust Card Components */
.icon-container {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(109, 35, 226, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transform: scale(1);
  transition: all 0.5s;
}

.trust-card:hover .icon-container {
  transform: scale(1.1);
  background-color: rgba(109, 35, 226, 0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1f2937;
  transition: colors 0.3s;
}

.trust-card:hover .card-title {
  color: #6D23E2;
}

.card-text {
  color: #4b5563;
  flex-grow: 1;
}

/* Feature Items */
.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  transition: all 0.3s;
}

.feature-item:hover {
  background-color: #f9fafb;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6D23E2;
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.25);
}

/* Timeline Items */
.timeline-card-mobile {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  transform: translateY(0);
}

.timeline-card-mobile:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.25rem);
}

.timeline-indicator {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #6D23E2;
  border-radius: 0.375rem;
  flex-shrink: 0;
  animation: pulse 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.timeline-content {
  margin-left: 1.25rem;
}

.timeline-item {
  display: flex;
  align-items: center;
}

.timeline-item::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background-color: #6D23E2;
  border-radius: 9999px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.timeline-item-hover {
  transform: translateY(0);
  transition: all 0.5s;
}

.timeline-item-hover:hover {
  transform: translateY(-0.5rem);
}

/* Partner Logo */
.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.partner-logo {
  max-height: 3rem;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Badge */
.badge {
  background-color: #6D23E2;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  display: inline-block;
}

/* Footer Elements */
.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 0.125rem;
  background-color: rgba(109, 35, 226, 0.3);
}

.footer-link {
  color: #4b5563;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.footer-link:hover, .footer-link:focus {
  color: #6D23E2;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: #6D23E2;
  transition: all 0.3s;
}

.footer-link:hover::after {
  width: 100%;
}

.social-icon-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(109, 35, 226, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6D23E2;
  transition: all 0.3s;
}

.social-icon-link:hover, .social-icon-link:focus {
  background-color: #6D23E2;
  color: white;
}

.social-icon-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5);
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(109, 35, 226, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: #6D23E2;
  transition: all 0.3s;
}

.contact-item:hover .contact-icon {
  background-color: #6D23E2;
  color: white;
}

/* Quote icon */
.quote-icon {
  width: 4rem;
  height: 4rem;
  color: #6D23E2;
  margin-bottom: 1.5rem;
  animation: pulse 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  opacity: 0.2;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 0;
}

/* Testimonial card */
.testimonial-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  background-color: white;
  border-radius: 1rem;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  width: 8rem;
  height: 8rem;
  background-color: rgba(109, 35, 226, 0.05);
  border-radius: 9999px;
  bottom: -4rem;
  right: -4rem;
  z-index: 0;
}

/* Morphing blob shape */
.blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 10s linear infinite alternate;
  position: absolute;
  z-index: -1;
  opacity: 0.1;
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* CTA section background */
.cta-bg {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  z-index: 1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(to right, #6D23E2, #784CE6, #6D23E2);
}

.cta-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  top: -300px;
  right: -300px;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 8s infinite;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}