/* Enhanced Hero Section Styles */
.hero {
  padding: 7rem 0 6rem;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Enhanced background elements */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(66, 133, 244, 0.03) 100%);
  z-index: 0;
  border-radius: 0 0 0 200px;
  transform: translateX(5%);
}

/* Add a subtle pattern overlay with animation */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234285f4' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.7;
  animation: backgroundShift 30s linear infinite;
}

@keyframes backgroundShift {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-content {
  padding-right: 2rem;
  animation: fadeIn 1s ease-out;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  line-height: 1.2;
  position: relative;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradientText 5s ease infinite;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1s ease-out 0.5s both;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.hero-feature:hover {
  transform: translateX(5px);
}

.hero-feature i {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(66, 133, 244, 0.2);
  transition: all 0.3s ease;
}

.hero-feature:hover i {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.hero-feature span {
  font-weight: 500;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 1s ease-out 0.7s both;
}

.btn {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(30deg);
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.hero-trust {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
  animation: fadeIn 1s ease-out 0.9s both;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  z-index: -1;
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-features {
    align-items: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-trust {
    text-align: center;
  }
  
  .trust-logos {
    justify-content: center;
  }
  
  .hero-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 4rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-feature span {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}