/* Jazr Hero Widget Styles */

:root {
  --jazr-primary: hsl(204, 80%, 36%); /* #136fa3 */
  --jazr-accent: hsl(24, 100%, 61%); /* #ff8838 */
  --jazr-secondary: hsl(210, 20%, 96%);
  --jazr-success: hsl(142, 71%, 45%);
  --jazr-foreground: hsl(0, 0%, 10%);
  --jazr-background: hsl(0, 0%, 100%);
  --jazr-muted: hsl(0, 0%, 35%);
}

/* Section Styles */
.jazr-hero-section {
  width: 100%;
  padding-top: 7rem;
  padding-bottom: 3rem;
  background: linear-gradient(
    to bottom,
    hsla(210, 20%, 96%, 0.3),
    hsl(0, 0%, 100%)
  );
}

@media (min-width: 768px) {
  .jazr-hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

/* Container */
.jazr-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .jazr-hero-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .jazr-hero-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Content Container */
.jazr-hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

/* Headline */
.jazr-hero-headline {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--jazr-foreground);
  line-height: 1.4;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .jazr-hero-headline {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .jazr-hero-headline {
    font-size: 2.25rem;
  }
}

/* Subheadline */
.jazr-hero-subheadline {
  font-size: 1rem;
  color: var(--jazr-foreground);
  font-weight: 500;
  line-height: 1.75;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .jazr-hero-subheadline {
    font-size: 1.125rem;
  }
}

/* Trust Indicator */
.jazr-hero-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--jazr-muted);
}

.jazr-hero-trust-icon {
  width: 1rem;
  height: 1rem;
  color: var(--jazr-success);
  flex-shrink: 0;
}

.jazr-hero-trust-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* CTA Buttons Container */
.jazr-hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .jazr-hero-cta {
    flex-direction: row;
  }
}

/* Button Base Styles */
.jazr-hero-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.jazr-hero-btn:hover,
.jazr-hero-btn:focus,
.jazr-hero-btn:active {
  text-decoration: none !important;
}

/* Filled Button */
.jazr-hero-btn-filled {
  background-color: var(--jazr-accent);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.jazr-hero-btn-filled:hover {
  background-color: hsla(24, 100%, 61%, 0.9);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Border Button */
.jazr-hero-btn-border {
  background-color: transparent;
  border-color: var(--jazr-accent);
  color: var(--jazr-accent);
}

.jazr-hero-btn-border:hover {
  background-color: var(--jazr-accent);
  color: #fff;
  border-color: var(--jazr-accent);
}

/* Fade In Animation */
.jazr-fade-in-up {
  opacity: 0;
  animation: jazrFadeInUp 0.6s ease-out forwards;
}

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

/* Underline Emphasis (for subheadline if needed) */
.jazr-hero-underline-emphasis {
  position: relative;
  display: inline;
  text-decoration: underline;
  text-decoration-color: var(--jazr-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* Responsive adjustments */
@media (max-width: 639px) {
  .jazr-hero-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* Underline emphasis for subheadline */
.jazr-hero-subheadline .jazr-hero-underline-emphasis {
  position: relative;
  display: inline;
  text-decoration: underline;
  text-decoration-color: var(--jazr-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
