/**
 * Unified Hero Section Styles
 * BoxStory - Consistent Hero Design System
 * Version: 1.0
 *
 * All navbar page heroes share the same dimensions:
 * - Fixed height: 20rem (desktop) / 17.5rem (tablet) / 15rem (mobile)
 * - Full width container
 * - Consistent typography scale
 * - Unique color themes per page
 */

/*--------------------------------------------------------------
# Base Hero Structure - Shared by All Pages
--------------------------------------------------------------*/
.unified-hero {
  position: relative;
  height: 50vh;
  border-radius: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.unified-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56.25rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem;
}

/*--------------------------------------------------------------
# Decorative Elements - Shared Patterns
--------------------------------------------------------------*/
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-1 {
  width: 12.5rem;
  height: 12.5rem;
  top: -3.75rem;
  right: -2.5rem;
  opacity: 0.15;
}

.hero-shape-2 {
  width: 9.375rem;
  height: 9.375rem;
  bottom: -2.5rem;
  left: -1.875rem;
  opacity: 0.1;
}

.hero-shape-3 {
  width: 5rem;
  height: 5rem;
  top: 50%;
  left: 10%;
  opacity: 0.08;
}

/* Animated Grid Overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 0.0625rem,
      transparent 0.0625rem
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0.0625rem, transparent 0.0625rem);
  background-size: 2.5rem 2.5rem;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Hero Icon Container
--------------------------------------------------------------*/
.hero-icon-wrapper {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2.5rem;
  box-shadow: 0 0 2.5rem rgba(255, 255, 255, 0.2);
}

/*--------------------------------------------------------------
# Hero Typography
--------------------------------------------------------------*/
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-title-accent {
  display: inline-block;
  border-radius: 1rem;
  padding: 0.625rem 0.9375rem;
  transition: all 0.3s ease;
}

.hero-title-accent:hover {
  transform: scale(1.01);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  font-weight: 700;
}

/*--------------------------------------------------------------
# Hero Badge
--------------------------------------------------------------*/
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 3.125rem;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/*--------------------------------------------------------------
# Hero Stats Row
--------------------------------------------------------------*/
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.625rem);
  padding: 0.5rem 1rem;
  border-radius: 3.125rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-stat-item i {
  font-size: 0.9rem;
}

.hero-stat-item strong {
  font-weight: 700;
}

/*--------------------------------------------------------------
# Hero CTA Buttons
--------------------------------------------------------------*/
.hero-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 3.125rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-cta-btn:hover {
  transform: translateY(-0.1875rem);
}

.hero-cta-primary {
  background: #ffffff;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
}

.hero-cta-primary:hover {
  box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.3);
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(0.625rem);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/*--------------------------------------------------------------
# Theme: Artists (Purple Gradient)
--------------------------------------------------------------*/
.unified-hero--artists {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.unified-hero--artists .hero-shape {
  background: rgba(255, 255, 255, 0.15);
}

.unified-hero--artists .hero-icon-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.unified-hero--artists .hero-title-accent {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
}

.unified-hero--artists .hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.unified-hero--artists .hero-stat-item i.fa-palette {
  color: #ffd700;
}
.unified-hero--artists .hero-stat-item i.fa-users {
  color: #7dd3fc;
}
.unified-hero--artists .hero-stat-item i.fa-star {
  color: #fbbf24;
}

.unified-hero--artists .hero-cta-primary {
  color: #667eea;
}

/*--------------------------------------------------------------
# Theme: Stores (Aqua/Teal Gradient)
--------------------------------------------------------------*/
.unified-hero--stores {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #134e4a 100%);
}

.unified-hero--stores .hero-shape {
  background: rgba(102, 199, 190, 0.2);
}

.unified-hero--stores .hero-icon-wrapper {
  background: linear-gradient(135deg, #66c7be 0%, #3e9b8f 100%);
}

.unified-hero--stores .hero-title-accent {
  background: linear-gradient(135deg, #66c7be 0%, #3e9b8f 100%);
}

.unified-hero--stores .hero-badge {
  background: linear-gradient(135deg, #66c7be 0%, #3e9b8f 100%);
  color: #0f172a;
}

.unified-hero--stores .hero-stat-item i.fa-store {
  color: #66c7be;
}
.unified-hero--stores .hero-stat-item i.fa-box {
  color: #10b981;
}
.unified-hero--stores .hero-stat-item i.fa-star {
  color: #fbbf24;
}

.unified-hero--stores .hero-cta-primary {
  background: linear-gradient(135deg, #66c7be 0%, #3e9b8f 100%);
  color: #0f172a;
}

/*--------------------------------------------------------------
# Theme: Resellers (Gold/Amber Gradient)
--------------------------------------------------------------*/
.unified-hero--resellers {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.unified-hero--resellers .hero-shape {
  background: rgba(251, 191, 36, 0.15);
}

.unified-hero--resellers .hero-icon-wrapper {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.unified-hero--resellers .hero-title-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.unified-hero--resellers .hero-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
}

.unified-hero--resellers .hero-stat-item i.fa-users {
  color: #fbbf24;
}
.unified-hero--resellers .hero-stat-item i.fa-rupee-sign {
  color: #10b981;
}
.unified-hero--resellers .hero-stat-item i.fa-clock {
  color: #f59e0b;
}

.unified-hero--resellers .hero-cta-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
}

/*--------------------------------------------------------------
# Theme: Influencers (Pink/Coral Gradient)
--------------------------------------------------------------*/
.unified-hero--influencers {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.unified-hero--influencers .hero-shape {
  background: rgba(255, 255, 255, 0.15);
}

.unified-hero--influencers .hero-icon-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.unified-hero--influencers .hero-title-accent {
  background: linear-gradient(135deg, #da60ab 0%, #be0872 100%);
}

.unified-hero--influencers .hero-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.unified-hero--influencers .hero-stat-item i.fa-heart {
  color: #ffffff;
}
.unified-hero--influencers .hero-stat-item i.fa-video {
  color: #ffd700;
}
.unified-hero--influencers .hero-stat-item i.fa-percentage {
  color: #10b981;
}

.unified-hero--influencers .hero-cta-primary {
  color: #f5576c;
}

/*--------------------------------------------------------------
# Theme: Services (Navy/Aqua Gradient)
--------------------------------------------------------------*/
.unified-hero--services {
  background: linear-gradient(135deg, #1e3a5f 0%, #66c7be 100%);
}

.unified-hero--services .hero-shape {
  background: rgba(255, 255, 255, 0.1);
}

.unified-hero--services .hero-icon-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.unified-hero--services .hero-title-accent {
  background: linear-gradient(135deg, #30b3a5 0%, #7bc7bf 100%);
}

.unified-hero--services .hero-title-accent:hover {
  color: var(--color-coral);
}

.unified-hero--services .hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.unified-hero--services .hero-stat-item i.fa-truck {
  color: #66c7be;
}
.unified-hero--services .hero-stat-item i.fa-handshake {
  color: #fbbf24;
}
.unified-hero--services .hero-stat-item i.fa-globe {
  color: #7dd3fc;
}

.unified-hero--services .hero-cta-primary {
  color: #1e3a5f;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 62rem) {
  .unified-hero {
    height: 20rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-icon-wrapper {
    width: 4.375rem;
    height: 4.375rem;
    font-size: 2rem;
  }
}

@media (max-width: 36rem) {
  .unified-hero {
    height: 23.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-icon-wrapper {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-stats {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .hero-stat-item {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }

  .hero-cta-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-shape-1,
  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }
}

/*--------------------------------------------------------------
# Animation Support
--------------------------------------------------------------*/
@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.625rem);
  }
}

.hero-icon-animated {
  animation: hero-float 3s ease-in-out infinite;
}

/*--------------------------------------------------------------
# Toggle Button Support (For pages with content switching)
--------------------------------------------------------------*/
.toggle-btn-unified {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.toggle-btn-unified.active {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.3);
}

.toggle-btn-unified:not(.active) {
  opacity: 0.85;
}

.toggle-btn-unified:not(.active):hover {
  opacity: 1;
  transform: translateY(-0.125rem);
}

/*--------------------------------------------------------------
# Reduced Motion Support
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .hero-icon-animated {
    animation: none;
  }
}
