/* ═══════════════════════════════════════════════
   Hero Banner — Cooling / AC Theme
   ═══════════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('./assets/bg4.webp');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

/* ── Deep ice-blue overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(2, 12, 35, 0.88) 0%,
    rgba(4, 30, 70, 0.80) 40%,
    rgba(6, 50, 100, 0.75) 70%,
    rgba(2, 20, 50, 0.90) 100%
  );
  z-index: 1;
}

/* ── Snowflake canvas ── */
#snowCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ── Cold mist waves ── */
.hero-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 220px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(100, 200, 255, 0.07) 0%,
    rgba(100, 200, 255, 0.03) 50%,
    transparent 100%
  );
  animation: mistDrift 12s ease-in-out infinite alternate;
}

.hero-mist:nth-child(2) {
  height: 160px;
  opacity: 0.6;
  animation-duration: 9s;
  animation-delay: -4s;
  background: linear-gradient(
    to top,
    rgba(150, 220, 255, 0.06) 0%,
    transparent 100%
  );
}

@keyframes mistDrift {
  from { transform: translateX(0) scaleY(1); }
  to   { transform: translateX(-25%) scaleY(1.15); }
}

/* ── Frost corner decorations ── */
.hero-frost {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
}

.hero-frost--tl {
  top: 0; left: 0;
  width: 280px; height: 280px;
  background: radial-gradient(ellipse at top left, rgba(150,230,255,0.5) 0%, transparent 70%);
  animation: frostPulse 5s ease-in-out infinite alternate;
}

.hero-frost--br {
  bottom: 0; right: 0;
  width: 320px; height: 320px;
  background: radial-gradient(ellipse at bottom right, rgba(100,200,255,0.5) 0%, transparent 70%);
  animation: frostPulse 7s ease-in-out infinite alternate-reverse;
}

@keyframes frostPulse {
  from { opacity: 0.12; transform: scale(1); }
  to   { opacity: 0.25; transform: scale(1.08); }
}

/* ── AC unit badge (top-right) ── */
.hero-ac-badge {
  position: absolute;
  top: 18%;
  right: 6%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  animation: acFloat 4s ease-in-out infinite alternate;
}

@keyframes acFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

.hero-ac-badge__unit {
  width: 72px;
  height: 44px;
  background: rgba(10, 40, 80, 0.7);
  border: 1.5px solid rgba(100, 200, 255, 0.35);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(100,200,255,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

/* AC vent lines */
.hero-ac-badge__unit::before {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  top: 50%;
  height: 1px;
  background: rgba(100,200,255,0.4);
  box-shadow: 0 -5px 0 rgba(100,200,255,0.25), 0 5px 0 rgba(100,200,255,0.25);
}

.hero-ac-badge__fan {
  animation: fanSpin 1.2s linear infinite;
  transform-origin: center;
}

@keyframes fanSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-ac-badge__temp {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(150, 230, 255, 0.9);
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(100,200,255,0.6);
}

/* ── Cold air stream lines ── */
.hero-airstream {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  top: 22%;
  right: 12%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-airstream__line {
  height: 1.5px;
  background: linear-gradient(90deg, rgba(100,200,255,0.5), transparent);
  border-radius: 2px;
  animation: airFlow 2s ease-in-out infinite;
}

.hero-airstream__line:nth-child(1) { width: 60px; animation-delay: 0s; }
.hero-airstream__line:nth-child(2) { width: 90px; animation-delay: 0.3s; }
.hero-airstream__line:nth-child(3) { width: 50px; animation-delay: 0.6s; }
.hero-airstream__line:nth-child(4) { width: 75px; animation-delay: 0.15s; }

@keyframes airFlow {
  0%   { transform: translateX(0); opacity: 0.7; }
  50%  { transform: translateX(-18px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.7; }
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center; 
  max-width: 900px;
  width: 100%;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 2.1s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Since label ── */
.hero-since {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-since__line {
  display: block;
  width: 52px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(100,200,255,0.8), transparent);
}

.hero-since__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(120, 210, 255, 0.9);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(100,200,255,0.5);
}

/* ── Heading ── */
.hero-heading {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 44px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6), 0 0 60px rgba(100,200,255,0.15);
}

/* ── Highlighted word — icy blue ── */
.hero-highlight {
  color: #5dd8ff;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(93,216,255,0.6), 0 0 60px rgba(93,216,255,0.3);
  animation: iceGlow 3s ease-in-out infinite alternate;
}

@keyframes iceGlow {
  from { text-shadow: 0 0 20px rgba(93,216,255,0.5), 0 0 40px rgba(93,216,255,0.2); }
  to   { text-shadow: 0 0 40px rgba(93,216,255,0.9), 0 0 80px rgba(93,216,255,0.4); }
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5dd8ff, transparent);
  border-radius: 2px;
  animation: iceGlow 3s ease-in-out infinite alternate;
}

/* ── Subtext ── */
.hero-sub {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(180, 220, 255, 0.75);
  margin-top: -24px;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

/* ── Stats row ── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(100,200,255,0.15);
}

.hero-stat:last-child { border-right: none; }

.hero-stat__num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #5dd8ff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(93,216,255,0.5);
}

.hero-stat__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(180,220,255,0.6);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── CTA buttons row ── */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.hero-btn:hover::before { opacity: 1; }

.hero-btn__arrow {
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-btn:hover .hero-btn__arrow { transform: translateX(5px); }

/* Primary — icy blue */
.hero-btn--primary {
  background: linear-gradient(135deg, #1a7fc4 0%, #5dd8ff 100%);
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(93,216,255,0.35);
}
.hero-btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(93,216,255,0.55);
}

/* Secondary — frosted glass */
.hero-btn--secondary {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1.5px solid rgba(100,200,255,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}
.hero-btn--secondary:hover {
  background: rgba(100,200,255,0.12);
  border-color: rgba(100,200,255,0.6);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 20px rgba(100,200,255,0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { background-attachment: scroll; min-height: 92vh;padding: 0px; }
  .hero-ac-badge { top: auto; bottom: 18%; right: 4%; }
  .hero-airstream { right: 8%; top: auto; bottom: 28%; }
  .hero-heading { margin-bottom: 28px; }
  .hero-btn { padding: 13px 26px; font-size: 0.75rem; }
  .hero-stat { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; gap: 14px; }
  .hero-btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-ac-badge { display: none; }
  .hero-airstream { display: none; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 0 12px; }
}
