/* =========================================================
   AUTOMATIC LEVEL CONTROLLER — custom hero + product section
   for this single-product category page.
   ========================================================= */

/* ---------- Hero ---------- */
.alc-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 24px 90px;
  background: linear-gradient(160deg, #eaf6ff 0%, #d3ebff 100%);
}

.alc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
  animation: alc-orb-float 12s ease-in-out infinite;
}

.alc-orb-a {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #8ecbff, transparent 70%);
  top: -80px;
  left: -60px;
}

.alc-orb-b {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #c8e8ff, transparent 70%);
  bottom: -60px;
  right: 10%;
  animation-duration: 14s;
  animation-delay: -4s;
}

@keyframes alc-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.08); }
}

.alc-droplet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #5bb8ff, #0d5ef4);
  opacity: 0;
  transform: rotate(45deg);
  animation: alc-droplet-rise 7s ease-in infinite;
}

.alc-droplet-1 { left: 12%; bottom: 10%; animation-delay: 0s; }
.alc-droplet-2 { left: 30%; bottom: 5%; width: 6px; height: 6px; animation-delay: 2.2s; }
.alc-droplet-3 { right: 18%; bottom: 15%; width: 10px; height: 10px; animation-delay: 4.4s; }

@keyframes alc-droplet-rise {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  15% { opacity: 0.6; }
  100% { transform: translateY(-220px) rotate(45deg); opacity: 0; }
}

.alc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.alc-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #157dff;
}

.alc-hero-heading {
  margin-top: 12px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #062b63;
}

.alc-accent {
  background: linear-gradient(90deg, #0d5ef4, #5bb8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.alc-underline {
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #157dff, rgba(21, 125, 255, 0.15));
  margin: 20px 0;
}

.alc-hero-desc {
  font-size: 15.5px;
  line-height: 1.8;
  color: #5b6b82;
  max-width: 460px;
}

.alc-hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.alc-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.alc-btn-primary {
  background: linear-gradient(135deg, #2f7dff, #0d5ef4);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 94, 244, 0.35);
}

.alc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 94, 244, 0.5);
}

.alc-btn-ghost {
  background: #ffffff;
  color: #062b63;
  border: 1.5px solid #d7e6f7;
}

.alc-btn-ghost:hover {
  border-color: #157dff;
  color: #157dff;
  transform: translateY(-3px);
}

.alc-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alc-hero-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 125, 255, 0.28), rgba(21, 125, 255, 0));
  filter: blur(20px);
  animation: alc-glow-pulse 4.5s ease-in-out infinite;
}

@keyframes alc-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.alc-hero-ring {
  position: absolute;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  border: 1.5px dashed rgba(21, 125, 255, 0.35);
  animation: alc-ring-spin 30s linear infinite;
}

@keyframes alc-ring-spin {
  to { transform: rotate(360deg); }
}

.alc-hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 30px 45px rgba(3, 15, 35, 0.2));
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  animation: alc-photo-in 1s 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards,
             alc-photo-float 5s 1.3s ease-in-out infinite;
}

@keyframes alc-photo-in {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes alc-photo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Product section ---------- */
.alc-showcase {
  background: #f4f8fc;
}

.alc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.alc-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.alc-row-image {
  flex: 0 0 auto;
  width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alc-row-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(6, 43, 99, 0.15));
  transition: transform 0.4s ease;
}

.alc-row:hover .alc-row-image img {
  transform: scale(1.03);
}

.alc-row-text {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.alc-row-text h2 {
  font-size: 25px;
  font-weight: 800;
  color: #157dff;
}

.alc-row-underline {
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  margin: 14px 0 18px;
  background: linear-gradient(90deg, #157dff, rgba(21, 125, 255, 0.15));
}

.alc-row-text p {
  font-size: 14.5px;
  line-height: 1.85;
  color: #45597a;
}

.alc-enquire-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 13px 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2f7dff, #0d5ef4);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(13, 94, 244, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alc-enquire-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 94, 244, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .alc-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .alc-hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .alc-hero-desc { margin-left: auto; margin-right: auto; }
  .alc-underline { margin-left: auto; margin-right: auto; }
  .alc-hero-cta { justify-content: center; }
}

@media (max-width: 900px) {
  .alc-row {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 50px 24px;
  }
  .alc-row-image { width: 320px; }
  .alc-row-underline { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .alc-hero { padding: 130px 20px 60px; }
  .alc-hero-heading { font-size: 32px; }
  .alc-row-text h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .alc-orb, .alc-droplet, .alc-hero-glow, .alc-hero-ring, .alc-hero-photo {
    animation: none !important;
  }
  .alc-hero-photo { opacity: 1; transform: none; }
  .alc-row {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .alc-row-image img {
    transition: none;
  }
}
