/* ========================================================
   ACORA Products Page Hero Section
   Dark navy premium design with 3D effects, animations,
   engineering aesthetics, and smooth transitions
   ======================================================== */

/* Hero Section Layout & Background */
.products-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1929;
}

.products-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.products-hero__bg-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(10, 25, 41, 0.95) 0%,
    rgba(10, 25, 41, 0.85) 35%,
    rgba(10, 25, 41, 0.7) 60%,
    rgba(10, 25, 41, 0.5) 100%),
    url('../images/abouthero.webp') center/cover no-repeat;
  background-position: center right;
}

.products-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 40%, 
    rgba(28, 65, 120, 0.1) 0%, 
    transparent 50%);
  pointer-events: none;
}

/* Accent Lines - Engineering Visual */
.products-hero__accent-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

.accent-line-a {
  stroke: #1c4178;
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 8px rgba(28, 65, 120, 0.5));
  animation: line-flow 8s ease-in-out infinite;
}

.accent-line-b {
  stroke: #2c5aa0;
  stroke-width: 1.5;
  fill: none;
  animation: line-flow 10s ease-in-out infinite 1s;
}

.accent-line-c {
  stroke: #0e294f;
  stroke-width: 1;
  fill: none;
  opacity: 0.6;
  animation: line-flow 12s ease-in-out infinite 2s;
}

@keyframes line-flow {
  0%, 100% {
    stroke-dasharray: 0, 1000;
    stroke-dashoffset: 0;
    opacity: 0.1;
  }
  50% {
    stroke-dasharray: 1000, 1000;
    stroke-dashoffset: -1000;
    opacity: 0.4;
  }
}

/* Glow Effects */
.products-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.products-hero__glow-1 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: 5%;
  background: radial-gradient(circle, rgba(28, 65, 120, 0.3), transparent);
  animation: float-glow 6s ease-in-out infinite;
}

.products-hero__glow-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 15%;
  background: radial-gradient(circle, rgba(28, 65, 120, 0.2), transparent);
  animation: float-glow 8s ease-in-out infinite 1s;
}

@keyframes float-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Main Content Container */
.products-hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 700px;
}

/* Text Block Styling */
.products-hero__text-block {
  max-width: 600px;
  color: #fff;
}

.products-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c4178;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1c4178;
  opacity: 0;
  animation: reveal-in 0.8s ease-out 0.2s forwards;
}

.products-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.1;
  margin: 0 0 24px 0;
  color: #fff;
  font-weight: 700;
}

.products-hero__title-line {
  display: block;
  opacity: 0;
  animation: reveal-in 0.9s ease-out forwards;
}

.products-hero__title-line:nth-child(1) {
  animation-delay: 0.3s;
}

.products-hero__title-line:nth-child(2) {
  animation-delay: 0.5s;
}

.products-hero__title-line:nth-child(3) {
  animation-delay: 0.7s;
}

.products-hero__title-accent {
  background: linear-gradient(90deg, #1c4178, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(28, 65, 120, 0.4));
}

.products-hero__description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: reveal-in 0.8s ease-out 0.9s forwards;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature Boxes */
.products-hero__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(28, 65, 120, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  opacity: 0;
  animation: reveal-in 0.7s ease-out forwards;
}

.feature-box:nth-child(1) { animation-delay: 1s; }
.feature-box:nth-child(2) { animation-delay: 1.1s; }
.feature-box:nth-child(3) { animation-delay: 1.2s; }
.feature-box:nth-child(4) { animation-delay: 1.3s; }

.feature-box:hover {
  background: rgba(28, 65, 120, 0.15);
  border-color: rgba(28, 65, 120, 0.6);
  transform: translateX(4px);
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: #2563eb;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(28, 65, 120, 0.5));
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* Wave Transition */
.products-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 120px;
  z-index: 4;
  fill: #fff;
}

.products-hero__wave-path {
  stroke: #1c4178;
  stroke-width: 2;
  fill: #fff;
  animation: wave-motion 4s ease-in-out infinite;
}

@keyframes wave-motion {
  0%, 100% {
    d: path('M0,50 Q300,10 600,50 T1200,50 L1200,120 L0,120 Z');
  }
  50% {
    d: path('M0,60 Q300,20 600,60 T1200,60 L1200,120 L0,120 Z');
  }
}

/* Reveal Classes Integration */
.reveal-right {
  opacity: 0;
  animation: reveal-in-right 0.9s ease-out 0.5s forwards !important;
}

@keyframes reveal-in-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================================
   Responsive Design
   ======================================================== */

@media (max-width: 1024px) {
  .products-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 60px 0;
  }

  .products-hero {
    min-height: 900px;
  }

  .products-hero__text-block {
    max-width: 100%;
  }

  .products-hero__title {
    font-size: clamp(40px, 5vw, 60px);
  }

  .products-hero__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-hero {
    min-height: 780px;
    padding: 40px 0;
  }

  .products-hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .products-hero__title {
    font-size: 44px;
    margin-bottom: 16px;
  }

  .products-hero__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .products-hero__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-box {
    font-size: 13px;
    padding: 14px 14px;
  }

  .feature-icon {
    width: 20px;
    height: 20px;
  }

  .products-hero__glow-1 {
    width: 280px;
    height: 280px;
    opacity: 0.3;
  }

  .products-hero__glow-2 {
    width: 220px;
    height: 220px;
    opacity: 0.2;
  }

  .products-hero__wave {
    height: 80px;
  }

  .products-hero__accent-lines {
    opacity: 0.15;
  }
}

@media (max-width: 560px) {
  .products-hero {
    min-height: 650px;
    padding: 30px 0;
  }

  .products-hero__title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .products-hero__eyebrow {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .products-hero__description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .products-hero__features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-box {
    font-size: 13px;
    padding: 12px 14px;
    gap: 10px;
  }

  .products-hero__wave {
    height: 60px;
  }

  .products-hero__glow-1 {
    width: 200px;
    height: 200px;
    top: 30%;
  }

  .products-hero__glow-2 {
    width: 150px;
    height: 150px;
    opacity: 0.15;
  }

  .products-hero__bg-image {
    background-size: cover;
    background-position: center right;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .products-hero__eyebrow,
  .products-hero__title-line,
  .products-hero__description,
  .feature-box {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .accent-line-a,
  .accent-line-b,
  .accent-line-c {
    animation: none !important;
  }

  .products-hero__glow-1,
  .products-hero__glow-2 {
    animation: none !important;
  }

  .products-hero__wave-path {
    animation: none !important;
  }

  .feature-box:hover {
    transform: none;
  }
}