/* Hero Section Styles - Guidewire Inspired */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0066cc 0%, #004c99 50%, #003366 100%);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-12);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.hero-title .highlight {
  color: var(--accent-green);
  position: relative;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 180px;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--gray-100);
  color: var(--primary-blue-dark);
  border-color: var(--gray-100);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  flex: 1;
}

.hero-stat-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-green);
  display: block;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.hero-floating-card {
  position: absolute;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-xl);
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 1s;
}

.floating-card-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.floating-card-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.floating-card-text h5 {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-weight: 600;
}

.floating-card-text p {
  margin: 0;
  font-size: var(--text-2xl);
  color: var(--gray-900);
  font-weight: 800;
}

/* Wave Divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave.flip {
  transform: scaleY(-1);
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.hero-wave .shape-fill {
  fill: var(--white);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text > * {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-eyebrow {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.3s;
}

.hero-cta {
  animation-delay: 0.4s;
}

.hero-stats {
  animation-delay: 0.5s;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-section {
    padding: var(--space-12) 0 var(--space-10);
  }
  
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-content {
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: var(--space-10) 0 var(--space-8);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    min-width: auto;
  }
  
  .hero-stats {
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
  }
  
  .hero-stat-number {
    font-size: var(--text-3xl);
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-floating-card {
    display: none;
  }
  
  .hero-wave svg {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: var(--space-8) 0 var(--space-6);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .hero-stat {
    text-align: center;
  }
}
