/* Webteqno promo units: top strip, nav link, CTA section, post-download toast */
.wtq-strip {
  --wtq-blue: #2F6BFF;
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap;
  padding: 9px 44px 9px 16px;
  background: #0F172A; color: #E2E8F0;
  font-size: 14px; line-height: 1.4; text-align: center;
}
.wtq-strip strong { color: #fff; font-weight: 700; }
.wtq-strip a.wtq-strip-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--wtq-blue); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
  animation: wtq-pulse 2.6s ease-in-out infinite;
}
.wtq-strip a.wtq-strip-cta:hover { filter: brightness(1.1); }
.wtq-strip-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent;
  color: #94A3B8; font-size: 20px; line-height: 1; cursor: pointer;
}
.wtq-strip-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.wtq-strip[hidden] { display: none; }

.nav-link.wtq-nav-link {
  color: #2F6BFF !important; font-weight: 700;
  border: 1px solid rgba(47,107,255,0.35); background: rgba(47,107,255,0.06);
}
.nav-link.wtq-nav-link:hover { background: rgba(47,107,255,0.12); }

/* CTA section */
.wtq-cta {
  max-width: 1160px; margin: 40px auto; padding: 0 16px; box-sizing: border-box;
}
.wtq-cta-card {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center;
  padding: 36px; border-radius: 18px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); color: #E2E8F0;
  box-shadow: 0 24px 48px -28px rgba(15,23,42,0.6);
  overflow: hidden; position: relative;
}
.wtq-cta-card::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47,107,255,0.35), transparent 65%);
  pointer-events: none;
}
.wtq-kicker {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(47,107,255,0.18); color: #9DB9FF;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.wtq-cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.wtq-cta p { margin: 0 0 16px; color: #CBD5E1; }
.wtq-list { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.wtq-list li { position: relative; padding-left: 28px; color: #E2E8F0; }
.wtq-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #2F6BFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.wtq-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wtq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.wtq-btn:hover { transform: translateY(-2px); }
.wtq-btn-primary { background: #2F6BFF; color: #fff !important; box-shadow: 0 12px 26px -12px rgba(47,107,255,0.9); }
.wtq-btn-primary:hover { filter: brightness(1.08); }
.wtq-btn-ghost { background: rgba(255,255,255,0.08); color: #fff !important; border: 1px solid rgba(255,255,255,0.18); }
.wtq-btn-ghost:hover { background: rgba(255,255,255,0.14); }
.wtq-fine { margin: 14px 0 0 !important; font-size: 13px; color: #94A3B8 !important; }

/* Animated visibility panel */
.wtq-visual {
  position: relative; padding: 22px; border-radius: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.wtq-visual-q {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.07); color: #E2E8F0; font-size: 14px;
}
.wtq-visual-q::before {
  content: ""; width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid #94A3B8; border-radius: 50%;
}
.wtq-caret { display: inline-block; width: 2px; height: 1em; background: #9DB9FF; margin-left: 2px; vertical-align: -2px; animation: wtq-blink 1s steps(1) infinite; }
.wtq-visual-label { margin: 0 0 10px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8 !important; }
.wtq-bar { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #CBD5E1; }
.wtq-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.wtq-fill {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, #2F6BFF, #38BDF8);
  transform-origin: left; transform: scaleX(0);
}
.wtq-cta.wtq-in .wtq-fill { animation: wtq-grow 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
.wtq-cta.wtq-in .wtq-bar:nth-child(4) .wtq-fill { animation-delay: .15s; }
.wtq-cta.wtq-in .wtq-bar:nth-child(5) .wtq-fill { animation-delay: .3s; }
.wtq-cta.wtq-in .wtq-bar:nth-child(6) .wtq-fill { animation-delay: .45s; }
.wtq-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 999px;
  background: rgba(16,185,129,0.15); color: #6EE7B7; font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateY(6px);
}
.wtq-cta.wtq-in .wtq-badge { animation: wtq-rise .5s ease 1.4s forwards; }

/* Post-download toast */
.wtq-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 2000;
  width: min(360px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 18px 18px 16px; border-radius: 14px;
  background: #0F172A; color: #E2E8F0; box-shadow: 0 24px 50px -18px rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(24px); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.wtq-toast.wtq-show { transform: none; opacity: 1; }
.wtq-toast strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; }
.wtq-toast p { margin: 0 0 12px; font-size: 14px; color: #CBD5E1; line-height: 1.45; }
.wtq-toast .wtq-btn { width: 100%; padding: 10px 14px; box-sizing: border-box; }
.wtq-toast-close {
  position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: transparent; color: #94A3B8; font-size: 18px; cursor: pointer;
}
.wtq-toast-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

@keyframes wtq-grow { to { transform: scaleX(1); } }
@keyframes wtq-rise { to { opacity: 1; transform: none; } }
@keyframes wtq-blink { 50% { opacity: 0; } }
@keyframes wtq-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,107,255,0.55); } 50% { box-shadow: 0 0 0 6px rgba(47,107,255,0); } }

@media (max-width: 860px) {
  .wtq-cta-card { grid-template-columns: 1fr; padding: 26px 20px; gap: 24px; }
}
@media (max-width: 640px) {
  .wtq-strip { font-size: 13px; padding: 8px 40px 8px 12px; }
  .wtq-strip .wtq-strip-extra { display: none; }
  .wtq-actions .wtq-btn { width: 100%; }
  .wtq-toast { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wtq-strip a.wtq-strip-cta, .wtq-caret { animation: none; }
  .wtq-fill { transform: none; }
  .wtq-cta.wtq-in .wtq-fill, .wtq-cta.wtq-in .wtq-badge { animation: none; }
  .wtq-badge { opacity: 1; transform: none; }
  .wtq-toast { transition: none; }
}

/* ===== Continuous attention motion (v2) ===== */
/* Strip: soft light sweep across the bar + shine on the CTA */
.wtq-strip { overflow: hidden; }
.wtq-strip::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(47,107,255,0.28), transparent);
  animation: wtq-sweep 5s ease-in-out infinite; pointer-events: none;
}
.wtq-strip > * { position: relative; }
.wtq-strip .wtq-strip-close { position: absolute; }
.wtq-strip a.wtq-strip-cta, .wtq-btn-primary, .nav-link.wtq-nav-link { position: relative; overflow: hidden; }
.wtq-strip a.wtq-strip-cta::after, .wtq-btn-primary::after, .nav-link.wtq-nav-link::after {
  content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: wtq-shine 3.2s ease-in-out infinite; pointer-events: none;
}
.wtq-btn-primary::after { animation-delay: 1.1s; }

/* Nav button: breathing glow */
.nav-link.wtq-nav-link { animation: wtq-glow 2.8s ease-in-out infinite; }
.nav-link.wtq-nav-link::after { background: linear-gradient(100deg, transparent, rgba(47,107,255,0.25), transparent); animation-delay: .6s; }

/* CTA card: drifting glow + animated gradient edge */
.wtq-cta-card::before { animation: wtq-drift 9s ease-in-out infinite alternate; }
.wtq-cta-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(47,107,255,0), rgba(56,189,248,0.9), rgba(47,107,255,0), rgba(110,231,183,0.7), rgba(47,107,255,0));
  background-size: 300% 300%; animation: wtq-edge 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.wtq-cta-card > * { position: relative; z-index: 1; }

/* Bars + badge loop forever once visible */
.wtq-cta.wtq-in .wtq-fill { animation: wtq-loop 6s cubic-bezier(.2,.8,.2,1) infinite; }
.wtq-cta.wtq-in .wtq-badge { animation: wtq-badge 6s ease infinite; }
.wtq-visual { animation: wtq-float 5s ease-in-out infinite; }

/* Toast: gentle attention nudge */
.wtq-toast.wtq-show .wtq-btn-primary { animation: wtq-pulse 2.6s ease-in-out infinite; }

@keyframes wtq-sweep { 0% { left: -40%; } 60%, 100% { left: 110%; } }
@keyframes wtq-shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes wtq-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,107,255,0); } 50% { box-shadow: 0 0 0 4px rgba(47,107,255,0.14), 0 6px 18px -6px rgba(47,107,255,0.45); } }
@keyframes wtq-drift { 0% { transform: translate(0,0); } 100% { transform: translate(-260px, 120px); } }
@keyframes wtq-edge { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes wtq-loop { 0% { transform: scaleX(0); } 22% { transform: scaleX(1); } 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wtq-badge { 0%, 24% { opacity: 0; transform: translateY(6px); } 32%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes wtq-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .wtq-strip::before, .wtq-strip a.wtq-strip-cta::after, .wtq-btn-primary::after, .nav-link.wtq-nav-link::after,
  .nav-link.wtq-nav-link, .wtq-cta-card::before, .wtq-cta-card::after, .wtq-visual, .wtq-toast.wtq-show .wtq-btn-primary { animation: none; }
  .wtq-strip::before, .wtq-strip a.wtq-strip-cta::after, .wtq-btn-primary::after, .nav-link.wtq-nav-link::after { display: none; }
  .wtq-cta.wtq-in .wtq-fill, .wtq-cta.wtq-in .wtq-badge { animation: none; }
}
