/* ============================================
   HERO SECTION STYLES
   ============================================ */

/* ============================================
   COLOR CUSTOMIZATION
   Change these colors to customize the hero section
   ============================================ */
:root {
  --hero-bg-top: #f0f7ff;           /* Hero background gradient top - light blue */
  --hero-bg-bottom: #e6f3ff;        /* Hero background gradient bottom - lighter blue */
  --hero-heading-color: #0b347a;    /* Main heading color - bright blue */
  --hero-subheading-color: #006efe; /* Subheading color - medium blue */
}

/* ============================================
   HERO CONTAINER
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%);
  padding: 120px 40px 80px 40px;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ============================================
   HEADLINE
   ============================================ */
.hero-headline {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hero-heading-color);
  margin: 0 0 24px 0;
  animation: fadeInUp 600ms ease-out;
}

/* ============================================
   SUBHEADLINE
   ============================================ */
.hero-subheadline {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--hero-subheading-color);
  margin: 0 0 40px 0;
  max-width: 640px;
  animation: fadeInUp 600ms ease-out 100ms backwards;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 600ms ease-out 200ms backwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  height: 56px;
  background-color: var(--color-slate-blue, #296def);
  color: var(--color-white, #ffffff);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(41, 109, 239, 0.15);
  cursor: pointer;
  transition: all 200ms ease-out;
}

.btn-primary:hover {
  background-color: var(--color-deeper-slate, #0c6fd1);
  box-shadow: 0 4px 8px rgba(41, 109, 239, 0.2);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(41, 109, 239, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  height: 56px;
  background-color: transparent;
  color: var(--color-slate-blue, #296def);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-slate-blue, #296def);
  border-radius: 50px;
  cursor: pointer;
  transition: all 200ms ease-out;
}

.btn-secondary:hover {
  background-color: var(--color-white, #ffffff);
  border-color: var(--color-copper, #4da3f5);
  color: var(--color-copper, #4da3f5);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(77, 163, 245, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
  background-color: var(--color-cloud-gray, #f4f6f9);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 600ms ease-out 300ms backwards;
}

.trust-badge {
  display: flex;
  align-items: center;
}

.trust-badge-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal, #4a5568);
}

.trust-badge-divider {
  font-size: 14px;
  color: var(--color-soft-gray, #e3e8ef);
}

/* ============================================
   HERO IMAGE
   ============================================ */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 600ms ease-out 300ms backwards;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  object-fit: contain;
  border-radius: 12px;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 600ms ease-out 400ms backwards, bounce 2s ease-in-out 1s infinite;
  grid-column: 1 / -1;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  color: var(--color-copper, #4da3f5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ============================================
   FOCUS STATES
   ============================================ */
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--color-copper, #b87d4b);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1199px) {
  .hero-section {
    padding: 100px 32px 60px 32px;
  }

  .hero-container {
    gap: 40px;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-subheadline {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-section {
    min-height: calc(100vh - 64px); /* Subtract mobile navbar height */
    padding: 80px 20px 60px 20px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-headline {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .hero-subheadline {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    height: 52px;
  }

  .hero-trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .trust-badge-text {
    font-size: 13px;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image {
    max-width: 700px;
  }

  .scroll-indicator {
    bottom: 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 24px;
  }

  .hero-subheadline {
    font-size: 13px;
  }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-headline,
  .hero-subheadline,
  .hero-cta-group,
  .hero-trust-badges,
  .scroll-indicator {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}
