/* =====================================================================
   Cyber Hunterz — visual enhancement layer
   Loaded AFTER styles.css; everything here is additive.
   ===================================================================== */

/* ---- 1. Sticky urgency strip (injected at top of <main>) -------------- */
.urgency-strip {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #050505 0%, #1a0033 50%, #050505 100%);
  border-bottom: 1px solid rgba(255, 0, 128, 0.55);
  color: #f5f5f5;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(6px);
}


.urgency-strip .flame { animation: pulse 1.4s ease-in-out infinite; }
.urgency-strip .seats-text { color: #00ff00; font-weight: 600; }
.urgency-strip .seats-text b { color: #ff3d8a; }
.urgency-strip .seats-bar {
  display: inline-block;
  vertical-align: middle;
  width: 180px;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.urgency-strip .seats-fill {
  display: block;
  height: 100%;
  width: 0%;            /* JS sets this on inject + on every tick */
  background: linear-gradient(90deg, #ff0080, #ff4d4d, #ffa500);
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.7);
  border-radius: inherit;
  transition: width 0.6s ease;
}
.urgency-strip .ub-cta {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ff0080, #ff4d4d);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.urgency-strip .ub-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 0, 128, 0.85);
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.45 } }

/* ---- 2. Matrix-rain canvas inside the hero ---------------------------- */
#sec-z73p9q { position: relative; overflow: hidden; }
#sec-z73p9q > *:not(.matrix-canvas) { z-index: 2; }
.matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ---- 3. Headline chromatic glitch ------------------------------------- */
.cyber-headline {
  animation: chroma 3.8s steps(60) infinite;
}
@keyframes chroma {
  0%, 92%, 100% { text-shadow: none; }
  93% { text-shadow: 2px 0 #ff0080, -2px 0 #00ffe1; }
  94% { text-shadow: -3px 0 #ff0080, 3px 0 #00ffe1; }
  95% { text-shadow: 1px 0 #ff0080, -1px 0 #00ffe1; }
  96% { text-shadow: -2px 0 #ff0080, 2px 0 #00ffe1; }
  97% { text-shadow: none; }
}

/* Soft neon glow + scanline overlay on the entire hero */
#sec-z73p9q::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 255, 225, 0.03) 0,
    rgba(0, 255, 225, 0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* Headline gradient spans — make them shimmer */
#sec-z73p9q .gradient-text,
#sec-z73p9q .gradient-text2 {
  background-size: 200% 100%;
  animation: shimmer-text 4s ease-in-out infinite;
}
@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* CTA shimmer */
#sec-z73p9q .btn-magenta {
  position: relative;
  overflow: hidden;
}
#sec-z73p9q .btn-magenta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: cta-sheen 3s ease-in-out infinite;
}
@keyframes cta-sheen {
  0% { left: -120%; }
  60%, 100% { left: 130%; }
}

/* ---- 4. Skill cards — hover reveal "example" -------------------------- */
.skill-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
  overflow: hidden;
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 30px rgba(0, 255, 157, 0.18),
    0 0 0 1px rgba(0, 255, 157, 0.4);
}
.skill-card .skill-example {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.6));
  color: #00ff9d;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 11.5px;
  line-height: 1.45;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(0, 255, 157, 0.35);
}
.skill-card:hover .skill-example { transform: translateY(0); }
.skill-card .skill-example::before {
  content: "> ";
  color: #ff3d8a;
}

/* ---- 5. Mobile sticky bottom CTA -------------------------------------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.98));
  border-top: 1px solid rgba(255, 0, 128, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
}
.mobile-cta-bar .mc-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.mobile-cta-bar .mc-price b {
  color: #00ff9d;
  font-size: 18px;
  font-weight: 800;
}
.mobile-cta-bar .mc-price span {
  font-size: 11px;
  color: #c5c5c5;
}
.mobile-cta-bar .mc-cta {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0080, #ff4d4d);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(255, 0, 128, 0.55);
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
  .urgency-strip { font-size: 12px; padding: 8px 12px; gap: 8px; }
  .urgency-strip .seats-bar { width: 110px; }
}

/* ---- 6. Section-entry fade-up (subtle) -------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ---- 7. Enquiry modal -------------------------------------------------- */
.enq-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.enq-backdrop.is-open {
  display: flex;
  opacity: 1;
}
.enq-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #0d0d12 0%, #15151c 100%);
  border: 1px solid rgba(255, 0, 128, 0.4);
  border-radius: 16px;
  padding: 28px 26px 24px;
  color: #f5f5f5;
  font-family: "Inter", system-ui, sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 0, 128, 0.25);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.enq-backdrop.is-open .enq-modal { transform: translateY(0) scale(1); }
.enq-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f5;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.enq-close:hover { background: rgba(255, 0, 128, 0.25); transform: rotate(90deg); }
.enq-modal h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
}
.enq-modal h3 span { color: #00ff9d; }
.enq-modal .enq-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: #b6b6c5;
}
.enq-modal .enq-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(0, 255, 157, 0.12);
  color: #00ff9d;
  border: 1px solid rgba(0, 255, 157, 0.4);
}
.enq-form .enq-field { margin-bottom: 12px; }
.enq-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #c5c5d5;
  margin-bottom: 5px;
}
.enq-form input,
.enq-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.enq-form input:focus,
.enq-form textarea:focus {
  border-color: #ff3d8a;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.18);
}
.enq-form textarea { resize: vertical; min-height: 80px; }
.enq-form .enq-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.enq-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0080, #ff4d4d);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(255, 0, 128, 0.5);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.enq-submit:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(255, 0, 128, 0.75); }
.enq-submit:disabled { opacity: 0.6; cursor: progress; }
.enq-error {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.45);
  color: #ff9b9b;
  font-size: 13px;
  display: none;
}
.enq-error.is-shown { display: block; }

/* Success state replaces the form body */
.enq-success {
  display: none;
  text-align: center;
  padding: 14px 0 6px;
}
.enq-success.is-shown { display: block; }
.enq-success .enq-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.12);
  border: 2px solid #00ff9d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff9d;
  font-size: 32px;
  animation: enq-pop 0.45s cubic-bezier(0.2, 1.4, 0.5, 1);
}
@keyframes enq-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.enq-success h4 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.enq-success p {
  margin: 0;
  font-size: 14px;
  color: #c0c0d0;
  line-height: 1.5;
}

/* ---- 7. Reduce motion --------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .matrix-canvas { display: none; }
}