/**
 * Britto IT — Hero Section Premium Polish Stylesheet
 * 
 * Target Component: Homepage Hero Section ONLY (.hero-slider-section)
 * Scope: Strictly isolated via .hero-slider-section scoping prefix.
 * Zero global overrides: Does not touch :root, body, html, global .btn, .container, header, or footer.
 * Zero JavaScript dependency change: Preserves all slider.js state classes (.is-active, .is-exiting).
 */

/* ==============================================================================
   1. HERO BACKGROUND & ATMOSPHERIC LIGHTING
   ============================================================================== */
.hero-slider-section {
  position: relative;
  background-color: #04241B;
  background-image: 
    radial-gradient(ellipse 90% 70% at 75% 42%, rgba(0, 190, 120, 0.18) 0%, rgba(0, 168, 107, 0.08) 35%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(0, 229, 153, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 61, 46, 0.96) 0%, #04291E 55%, #021B14 100%);
  color: #FFFFFF;
  overflow: hidden;
  padding: 0;
}

/* Subtle top perimeter hairline highlight */
.hero-slider-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 25%, rgba(0, 229, 153, 0.35) 50%, rgba(255, 255, 255, 0.12) 75%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Subtle bottom perimeter gradient transition into highlights strip */
.hero-slider-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 27, 20, 0.45) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ==============================================================================
   2. SLIDE CONTAINER & ZERO-OVERLAP STRUCTURAL LAYOUT
   ============================================================================== */
.hero-slider-section .slider-container {
  position: relative;
  width: 100%;
  min-height: 620px;
}

.hero-slider-section .slider-slide {
  width: 100%;
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(5.25rem, 7.5vw, 7rem);
}

.hero-slider-section .slide-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3.5rem);
}

.hero-slider-section .slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* ==============================================================================
   3. CATEGORY BADGE / EYEBROW
   ============================================================================== */
.hero-slider-section .hero-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #00E599;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: border-color 250ms ease, background 250ms ease;
}

.hero-slider-section .hero-category-badge:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 229, 153, 0.35);
}

.hero-slider-section .hero-category-badge .badge-sparkle {
  color: #00E599;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 229, 153, 0.5));
}

/* ==============================================================================
   4. HEADLINE & TYPOGRAPHY
   ============================================================================== */
.hero-slider-section .slide-headline {
  font-size: clamp(2.35rem, 4.3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-slider-section .hero-accent-text {
  background: linear-gradient(135deg, #00FFB2 0%, #00E599 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(0, 229, 153, 0.25));
}

.hero-slider-section .hero-accent-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00E599 0%, rgba(0, 229, 153, 0.5) 75%, transparent 100%);
  border-radius: 9999px;
  opacity: 0.85;
}

.hero-slider-section .slide-desc {
  font-size: clamp(1.025rem, 1.12vw, 1.18rem);
  line-height: 1.72;
  color: rgba(232, 248, 240, 0.90);
  margin-bottom: 2rem;
  max-width: 550px;
  letter-spacing: -0.005em;
  font-weight: 400;
}

/* ==============================================================================
   5. CTA ACTION BUTTONS
   ============================================================================== */
.hero-slider-section .slide-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-slider-section .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #00B377 0%, #00965F 50%, #008050 100%);
  color: #FFFFFF;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 18px rgba(0, 168, 107, 0.4), 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
  position: relative;
}

.hero-slider-section .btn-hero-primary:hover {
  background: linear-gradient(135deg, #00C483 0%, #00A669 50%, #008C57 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 8px 26px rgba(0, 168, 107, 0.52);
  color: #FFFFFF;
}

.hero-slider-section .btn-hero-primary:focus-visible {
  outline: 2px solid #00FFB2;
  outline-offset: 3px;
}

.hero-slider-section .btn-hero-primary svg {
  transition: transform 200ms ease;
}

.hero-slider-section .btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.hero-slider-section .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  cursor: pointer;
}

.hero-slider-section .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(0, 229, 153, 0.45);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.hero-slider-section .btn-hero-secondary:focus-visible {
  outline: 2px solid #00FFB2;
  outline-offset: 3px;
}

.hero-slider-section .btn-hero-secondary.btn-hero-gold {
  border-color: rgba(215, 181, 109, 0.45);
  color: #F3E5AB;
}

.hero-slider-section .btn-hero-secondary.btn-hero-gold:hover {
  background: rgba(215, 181, 109, 0.15);
  border-color: rgba(215, 181, 109, 0.75);
  color: #FFFFFF;
}

/* ==============================================================================
   6. HERO FEATURE HIGHLIGHTS ROW
   ============================================================================== */
.hero-slider-section .hero-features-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
  max-width: 620px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slider-section .hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: transform 200ms ease;
}

.hero-slider-section .hero-feature-item:hover {
  transform: translateY(-2px);
}

.hero-slider-section .hero-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(0, 229, 153, 0.16) 0%, rgba(0, 168, 107, 0.06) 100%);
  border: 1px solid rgba(0, 229, 153, 0.28);
  color: #00E599;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.hero-slider-section .hero-feature-item:hover .hero-feature-icon {
  border-color: rgba(0, 229, 153, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(0, 229, 153, 0.25);
}

.hero-slider-section .hero-feature-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.hero-slider-section .hero-feature-sub {
  font-size: 0.74rem;
  color: rgba(225, 245, 235, 0.78);
  line-height: 1.32;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================================
   7. HERO SLIDE VISUAL STAGE & DEVICE SHOWCASE
   ============================================================================== */
.hero-slider-section .slide-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  width: 100%;
}

.hero-slider-section .hero-showcase-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.hero-slider-section .hero-ambient-glow {
  position: absolute;
  width: 88%;
  height: 88%;
  top: 6%;
  left: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 153, 0.22) 0%, rgba(0, 168, 107, 0.10) 45%, transparent 72%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
}

.hero-slider-section .hero-showcase-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 550px;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.58)) drop-shadow(0 8px 16px rgba(0, 168, 107, 0.18));
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), filter 350ms ease;
  will-change: transform;
}

.hero-slider-section .hero-showcase-container:hover .hero-showcase-img {
  transform: translateY(-4px) scale(1.012);
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 12px 24px rgba(0, 168, 107, 0.25));
}

/* ==============================================================================
   8. SLIDER CONTROLS BAR (ARROWS, DOTS, PLAYBACK)
   ============================================================================== */
.hero-slider-section .slider-controls-bar {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.hero-slider-section .slider-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad, 1.25rem);
  max-width: var(--container-max, 1240px);
  margin: 0 auto;
  pointer-events: auto;
}

.hero-slider-section .slider-arrow-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-slider-section .slider-arrow-btn:hover {
  background: #00A86B;
  border-color: #00E599;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.4);
}

.hero-slider-section .slider-arrow-btn:focus-visible {
  outline: 2px solid #00FFB2;
  outline-offset: 2px;
}

.hero-slider-section .slider-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-slider-section .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  cursor: pointer;
  transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1), background 250ms ease, box-shadow 250ms ease;
  padding: 0;
}

.hero-slider-section .slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-slider-section .slider-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #00FFB2 0%, #00E599 100%);
  box-shadow: 0 0 12px rgba(0, 229, 153, 0.65);
}

.hero-slider-section .slider-dot:focus-visible {
  outline: 2px solid #00FFB2;
  outline-offset: 2px;
}

.hero-slider-section .slider-playback-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(240, 250, 245, 0.92);
  padding: 7px 15px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-slider-section .slider-playback-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(0, 229, 153, 0.35);
  color: #FFFFFF;
}

.hero-slider-section .slider-playback-btn:focus-visible {
  outline: 2px solid #00FFB2;
  outline-offset: 2px;
}

/* ==============================================================================
   9. RESPONSIVE MEDIA QUERIES
   ============================================================================== */
/* Tablet & Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero-slider-section .slide-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-slider-section .slide-content {
    align-items: flex-start;
  }
  .hero-slider-section .hero-showcase-container {
    max-width: 500px;
    height: 360px;
    margin: 0 auto;
  }
  .hero-slider-section .hero-showcase-img {
    max-width: 500px;
    max-height: 340px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .hero-slider-section .slider-slide {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
  }
  .hero-slider-section .slide-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-slider-section .btn-hero-primary,
  .hero-slider-section .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }
  .hero-slider-section .hero-features-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 100%;
  }
  .hero-slider-section .hero-feature-sub {
    white-space: normal;
  }
  .hero-slider-section .slide-visual-stage {
    min-height: auto;
    width: 100%;
    margin-top: 1.25rem;
  }
  .hero-slider-section .hero-showcase-container {
    width: 100%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 590 / 390;
    margin: 0 auto;
  }
  .hero-slider-section .hero-showcase-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  .hero-slider-section .slider-controls-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
}

/* Small Viewport (<= 390px / 375px) */
@media (max-width: 390px) {
  .hero-slider-section .slide-headline {
    font-size: clamp(1.75rem, 7.5vw, 2.15rem);
    letter-spacing: -0.02em;
    line-height: 1.18;
  }
  .hero-slider-section .slide-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .hero-slider-section .hero-category-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
  .hero-slider-section .slider-arrow-btn {
    width: 38px;
    height: 38px;
  }
  .hero-slider-section .slider-playback-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
}

/* ==============================================================================
   10. ACCESSIBILITY & REDUCED MOTION PRESERVATION
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-slider-section .btn-hero-primary,
  .hero-slider-section .btn-hero-secondary,
  .hero-slider-section .hero-showcase-img,
  .hero-slider-section .hero-feature-item,
  .hero-slider-section .slider-arrow-btn,
  .hero-slider-section .slider-dot {
    transition: none !important;
    transform: none !important;
  }
  .hero-slider-section .hero-showcase-container:hover .hero-showcase-img {
    transform: none !important;
  }
}
