/* ── Popup V2 — Premium Hosting Offer ──
   Namespace: hlz2-
   Storage per page: hlz2_hide_{page}
   ============================================== */

#hlz2-overlay,
#hlz2-overlay * { box-sizing: border-box; }

#hlz2-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 24, 16, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#hlz2-overlay.hlz2-open {
  opacity: 1;
  visibility: visible;
}

/* ── Card ── */
.hlz2-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  width: 100%;
  max-width: 380px;
  box-shadow:
    0 0 0 1px rgba(44,156,76,.08),
    0 4px 6px -2px rgba(0,0,0,.05),
    0 12px 40px -8px rgba(16,35,26,.25);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

#hlz2-overlay.hlz2-open .hlz2-card {
  transform: scale(1) translateY(0);
}

/* ── Close Button ── */
.hlz2-close {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 10;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hlz2-close:hover {
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.hlz2-close:focus-visible {
  outline: 2px solid #2c9c4c;
  outline-offset: 2px;
}

/* ── Hero Section ── */
.hlz2-hero {
  background: linear-gradient(135deg, #0d1f15 0%, #10271a 100%);
  padding: 1.5rem 1.5rem 1.125rem;
  text-align: center;
  border-radius: 1rem 1rem 0 0;
  position: relative;
  overflow: hidden;
}

.hlz2-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(44,156,76,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hlz2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.hlz2-heading {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.35rem;
}

.hlz2-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(167,205,179,0.8);
  margin: 0 auto;
  max-width: 28ch;
}

/* ── Body ── */
.hlz2-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Coupon Ticket ── */
.hlz2-ticket {
  display: flex;
  align-items: center;
  border: 1.5px dashed rgba(44,156,76,0.3);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f4fbf6, #edf9f1);
  overflow: hidden;
}

.hlz2-coupon-left {
  flex: 1;
  padding: 0.55rem 0.875rem;
  min-width: 0;
}

.hlz2-coupon-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a6860;
  margin-bottom: 0.05rem;
}

.hlz2-coupon-code {
  font-family: 'Plus Jakarta Sans', 'Courier New', monospace;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2c9c4c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.hlz2-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: #2c9c4c;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: stretch;
  transition: background 0.2s ease;
}

.hlz2-copy-btn:hover {
  background: #1f7a39;
}

.hlz2-copy-btn.hlz2-copied {
  background: #155c2a;
  pointer-events: none;
}

/* ── Countdown ── */
.hlz2-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.hlz2-tbox {
  background: #f4fbf6;
  border: 1px solid #d6eedf;
  border-radius: 0.5rem;
  padding: 0.35rem 0.35rem 0.25rem;
  text-align: center;
  min-width: 2.5rem;
}

.hlz2-tnum {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  color: #10231a;
  font-variant-numeric: tabular-nums;
}

.hlz2-tlabel {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a6860;
  margin-top: 0.15rem;
}

.hlz2-tsep {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2c9c4c;
  margin-top: 0;
}

.hlz2-timer-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a6860;
  text-align: center;
  margin-bottom: 0.35rem;
}

/* ── Benefits Row ── */
.hlz2-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.hlz2-benefit {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: #10231a;
  line-height: 1.2;
}

.hlz2-benefit-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #2c9c4c;
  flex-shrink: 0;
}

/* ── CTA ── */
.hlz2-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 0.875rem;
  background: linear-gradient(135deg, #2c9c4c 0%, #1f7a39 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 0.625rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  box-shadow: 0 3px 6px -2px rgba(44,156,76,0.35), 0 8px 20px -6px rgba(31,122,57,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hlz2-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}

.hlz2-btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 12px -3px rgba(44,156,76,0.4), 0 12px 28px -8px rgba(31,122,57,0.5);
}

.hlz2-dismiss {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #4a6860;
  cursor: pointer;
  padding: 0.25rem;
  text-align: center;
  transition: color 0.15s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(74,104,96,0.25);
}

.hlz2-dismiss:hover {
  color: #2c9c4c;
  text-decoration-color: #2c9c4c;
}

/* ── Divider ── */
.hlz2-divider {
  height: 1px;
  background: #e5ede8;
  margin: 0;
}

/* ── Social Proof Mini ── */
.hlz2-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hlz2-stars {
  color: #f59e0b;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.hlz2-social-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  color: #4a6860;
  font-weight: 500;
}

.hlz2-social-text strong {
  color: #10231a;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  #hlz2-overlay {
    padding: 0.75rem;
  }

  .hlz2-card {
    max-width: 340px;
  }

  .hlz2-hero {
    padding: 1.25rem 1.125rem 1rem;
  }

  .hlz2-heading {
    font-size: 1.15rem;
  }

  .hlz2-sub {
    font-size: 0.65rem;
  }

  .hlz2-body {
    padding: 0.875rem 1rem 1rem;
    gap: 0.625rem;
  }

  .hlz2-coupon-code {
    font-size: 1rem;
  }

  .hlz2-tnum {
    font-size: 1rem;
  }

  .hlz2-benefit {
    font-size: 0.58rem;
  }

  .hlz2-btn-primary {
    font-size: 0.72rem;
    padding: 0.625rem 0.75rem;
  }
}

@media (max-width: 360px) {
  .hlz2-card {
    max-width: 300px;
  }

  .hlz2-heading {
    font-size: 1rem;
  }

  .hlz2-body {
    padding: 0.75rem 0.75rem 0.875rem;
    gap: 0.5rem;
  }

  .hlz2-benefits {
    gap: 0.2rem;
  }

  .hlz2-benefit {
    font-size: 0.52rem;
  }

  .hlz2-tbox {
    min-width: 2rem;
    padding: 0.25rem 0.25rem 0.2rem;
  }

  .hlz2-tnum {
    font-size: 0.875rem;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  #hlz2-overlay {
    transition: opacity 0.15s ease;
  }

  .hlz2-card {
    transition: none;
    transform: none !important;
  }

  .hlz2-close {
    transition: none;
  }
}
