/* =====================================================================
   Dynamic layer — additive to style.css
   Adds: Live-Ticker, Animated Hero Visual, Rotator, Live-Probe,
         Risk-Card Meters, Testimonial Carousel, FAQ, Live-Tag, Counters.
   Mobile-first. Respects prefers-reduced-motion.
   ===================================================================== */

/* ----- Global polish ----- */
.no-scroll-x { overflow-x: hidden; }
html, body { overflow-x: hidden; }

/* ===== Live Ticker ===== */
.live-ticker{
  position:relative;
  z-index:5;
  background:#1A1A2E;
  color:#F5F0E1;
  overflow:hidden;
  border-bottom:1px solid rgba(201,152,2,0.25);
}
.live-ticker__track{
  display:flex;
  gap:40px;
  padding:9px 0;
  animation:lt-scroll 42s linear infinite;
  white-space:nowrap;
  width:max-content;
}
.live-ticker__item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  color:rgba(245,240,225,0.92);
}
.live-ticker__item b{color:#E8C84A;font-weight:900;}
.live-ticker__pulse{
  width:8px;height:8px;border-radius:50%;
  background:#2E8B57;
  box-shadow:0 0 0 0 rgba(46,139,87,0.7);
  animation:lt-pulse 2s infinite;
  flex-shrink:0;
}
.live-ticker__sep{color:rgba(201,152,2,0.5);font-weight:900;}
@keyframes lt-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@keyframes lt-pulse{
  0%{box-shadow:0 0 0 0 rgba(46,139,87,0.7);}
  70%{box-shadow:0 0 0 8px rgba(46,139,87,0);}
  100%{box-shadow:0 0 0 0 rgba(46,139,87,0);}
}
.live-ticker:hover .live-ticker__track{animation-play-state:paused;}

/* ===== Animated Hero Visual (replaces static image) ===== */
.hero-visual-anim{
  position:relative;
  width:100%;
  max-width:520px;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:radial-gradient(120% 120% at 20% 10%,#22243a 0%,#16213e 45%,#0e1528 100%);
  box-shadow:0 12px 40px rgba(0,0,0,0.18);
  isolation:isolate;
}
.hero-visual-anim__glow{
  position:absolute;inset:-30%;
  background:radial-gradient(circle at 30% 30%,rgba(201,152,2,0.35),transparent 55%);
  mix-blend-mode:screen;
  animation:hv-glow 14s ease-in-out infinite alternate;
  z-index:0;
}
@keyframes hv-glow{
  from{transform:translate(-8%,-6%) rotate(0deg);}
  to{transform:translate(8%,6%) rotate(20deg);}
}
.hero-visual-anim__grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(201,152,2,0.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(201,152,2,0.08) 1px,transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(ellipse at center,#000 40%,transparent 80%);
  mask-image:radial-gradient(ellipse at center,#000 40%,transparent 80%);
  z-index:1;
}
.hero-visual-anim__shield{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:120px;height:140px;
  z-index:2;
  filter:drop-shadow(0 0 24px rgba(201,152,2,0.5));
  animation:hv-float 5s ease-in-out infinite;
}
@keyframes hv-float{
  0%,100%{transform:translate(-50%,-50%) translateY(0);}
  50%{transform:translate(-50%,-50%) translateY(-8px);}
}
.hero-visual-anim__orbit{
  position:absolute;top:50%;left:50%;
  width:280px;height:280px;
  margin:-140px 0 0 -140px;
  border:1px dashed rgba(201,152,2,0.35);
  border-radius:50%;
  z-index:2;
  animation:hv-spin 26s linear infinite;
}
.hero-visual-anim__orbit--2{
  width:200px;height:200px;margin:-100px 0 0 -100px;
  animation-direction:reverse;animation-duration:18s;
  border-color:rgba(232,200,74,0.25);
}
@keyframes hv-spin{to{transform:rotate(360deg);}}
.hero-visual-anim__dot{
  position:absolute;
  width:10px;height:10px;border-radius:50%;
  background:#E8C84A;
  box-shadow:0 0 10px #E8C84A;
  top:50%;left:50%;
  margin:-5px 0 0 135px;
  z-index:3;
}
.hero-visual-anim__dot--b{
  background:#F5F0E1;
  box-shadow:0 0 8px rgba(255,255,255,0.6);
  margin-left:-95px;margin-top:-5px;
}
.hero-visual-anim__label{
  position:absolute;z-index:4;
  padding:5px 9px;border-radius:100px;
  background:rgba(26,26,46,0.85);
  border:1px solid rgba(201,152,2,0.4);
  color:#F5F0E1;
  font-size:11px;font-weight:700;
  letter-spacing:.02em;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  white-space:nowrap;
}
.hero-visual-anim__label b{color:#E8C84A;}
.hero-visual-anim__label--a{top:14%;left:8%;animation:hv-a 6s ease-in-out infinite;}
.hero-visual-anim__label--b{top:18%;right:8%;animation:hv-b 7s ease-in-out infinite;}
.hero-visual-anim__label--c{bottom:14%;left:10%;animation:hv-c 8s ease-in-out infinite;}
.hero-visual-anim__label--d{bottom:18%;right:10%;animation:hv-d 9s ease-in-out infinite;}
@keyframes hv-a{0%,100%{transform:translateY(0);}50%{transform:translateY(-4px);}}
@keyframes hv-b{0%,100%{transform:translateY(0);}50%{transform:translateY(4px);}}
@keyframes hv-c{0%,100%{transform:translateY(0);}50%{transform:translateY(-3px);}}
@keyframes hv-d{0%,100%{transform:translateY(0);}50%{transform:translateY(5px);}}
.hero-visual-anim__corner{
  position:absolute;z-index:4;
  bottom:10px;left:12px;
  font-size:10px;font-weight:900;
  color:rgba(245,240,225,0.55);
  letter-spacing:.15em;
}
.hero-visual-anim__corner--r{left:auto;right:12px;}
.hero-visual-anim__corner--r::before{
  content:'';display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#2E8B57;box-shadow:0 0 8px #2E8B57;
  margin-right:6px;vertical-align:middle;
  animation:lt-pulse 2s infinite;
}

/* ===== Rotator (hook word) ===== */
.rotator{
  display:inline-block;
  position:relative;
  color:#C99802;
  min-width:1ch;
}
.rotator__word{
  display:inline-block;
  animation:rot-word 2.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes rot-word{
  0%{opacity:0;transform:translateY(10px);filter:blur(4px);}
  15%{opacity:1;transform:translateY(0);filter:blur(0);}
  85%{opacity:1;transform:translateY(0);filter:blur(0);}
  100%{opacity:0;transform:translateY(-10px);filter:blur(4px);}
}

/* ===== Counters ===== */
.counter{font-variant-numeric:tabular-nums;}

/* ===== Live-Probe (inline mini-quiz) ===== */
.live-probe{
  margin:28px auto 0;
  background:#fff;
  border:1.5px solid rgba(201,152,2,0.25);
  border-radius:14px;
  padding:18px;
  max-width:520px;
  box-shadow:0 8px 28px rgba(0,0,0,0.06);
}
.live-probe__label{
  display:flex;align-items:center;gap:8px;
  font-size:12px;font-weight:900;
  color:#C99802;
  letter-spacing:.12em;text-transform:uppercase;
  margin-bottom:10px;
}
.live-probe__label::before{
  content:'';width:8px;height:8px;border-radius:50%;
  background:#C99802;
  box-shadow:0 0 0 0 rgba(201,152,2,0.6);
  animation:lt-pulse 2s infinite;
}
.live-probe__label em{
  color:#555;letter-spacing:normal;text-transform:none;
  font-weight:700;font-style:normal;
}
.live-probe__q{
  font-size:16px;font-weight:900;color:#333;
  margin-bottom:12px;line-height:1.35;
}
.live-probe__options{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.live-probe__chip{
  border:1.5px solid #e0e0e0;
  background:#fff;border-radius:8px;
  padding:10px 8px;
  font-size:13px;font-weight:700;color:#333;
  cursor:pointer;
  transition:all .18s ease;
  text-align:center;
  font-family:inherit;
  -webkit-tap-highlight-color:transparent;
}
.live-probe__chip:hover{border-color:#C99802;background:#fffbeb;}
.live-probe__chip.selected{
  border-color:#C99802;background:#C99802;color:#fff;
}
.live-probe__reveal{
  margin-top:14px;
  padding:0 14px;
  background:#1A1A2E;
  border-radius:10px;
  color:#F5F0E1;
  font-size:14px;
  line-height:1.5;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transition:opacity .4s ease,max-height .5s ease,padding .3s ease;
}
.live-probe__reveal.open{
  opacity:1;
  max-height:280px;
  padding:14px;
}
.live-probe__reveal b{color:#E8C84A;font-weight:900;}
.live-probe__reveal .go{
  display:inline-block;margin-top:10px;
  color:#E8C84A;font-weight:900;
  text-decoration:none;font-size:13px;
  letter-spacing:.02em;
  cursor:pointer;
}
.live-probe__reveal .go:hover{text-decoration:underline;color:#E8C84A;}

/* ===== Risk Cards — polish ===== */
.lp-risk-card{
  position:relative;
  overflow:hidden;
  transition:transform .35s cubic-bezier(0.16,1,0.3,1),box-shadow .35s ease;
}
.lp-risk-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,0.12);
}
.lp-risk-card--warning{border-left-color:#C99802;}
.lp-risk-card--warning .lp-risk-card__amount{color:#C99802;}
.risk-card__spark{
  position:absolute;top:18px;right:18px;
  font-size:11px;font-weight:900;
  padding:3px 8px;border-radius:100px;
  background:#fce4e4;color:#CC0000;
  letter-spacing:.02em;
}
.lp-risk-card--warning .risk-card__spark{
  background:#fffbeb;color:#C99802;
}
.risk-card__meter{
  height:4px;background:#f2f2f2;
  border-radius:2px;overflow:hidden;
  margin-top:14px;
}
.risk-card__meter > i{
  display:block;height:100%;
  background:linear-gradient(90deg,#CC0000,#e53935);
  border-radius:2px;
  width:0;
  transition:width 1.6s cubic-bezier(0.16,1,0.3,1);
}
.lp-risk-card--warning .risk-card__meter > i{
  background:linear-gradient(90deg,#C99802,#E8C84A);
}

/* ===== Testimonial Carousel ===== */
.testimonial-carousel{
  position:relative;
  max-width:820px;
  margin:0 auto;
}
.testimonial-carousel__viewport{
  overflow:hidden;
  border-radius:12px;
}
.testimonial-carousel__track{
  display:flex;
  transition:transform .55s cubic-bezier(0.16,1,0.3,1);
  will-change:transform;
}
.testimonial-carousel__slide{
  flex:0 0 100%;
  padding:4px;
  box-sizing:border-box;
}
.testimonial-carousel__slide .lp-testimonial{
  height:100%;
}
.testimonial-carousel__dots{
  display:flex;gap:8px;justify-content:center;
  margin-top:20px;
}
.testimonial-carousel__dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(0,0,0,0.15);
  border:none;cursor:pointer;padding:0;
  transition:all .25s ease;
}
.testimonial-carousel__dot.active{
  background:#C99802;
  width:24px;border-radius:100px;
}
.testimonial-carousel__nav{
  position:absolute;top:50%;
  transform:translateY(-50%);
  width:40px;height:40px;border-radius:50%;
  background:#fff;
  border:1px solid #e8e8e8;
  color:#C99802;
  font-size:22px;font-weight:900;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
  z-index:2;
  transition:all .2s ease;
  -webkit-tap-highlight-color:transparent;
}
.testimonial-carousel__nav:hover{
  background:#C99802;color:#fff;border-color:#C99802;
}
.testimonial-carousel__nav--prev{left:-6px;}
.testimonial-carousel__nav--next{right:-6px;}
@media(min-width:900px){
  .testimonial-carousel__nav--prev{left:-20px;}
  .testimonial-carousel__nav--next{right:-20px;}
}

/* ===== FAQ Accordion ===== */
.faq{
  background:#fff;
  padding:56px 0;
}
.faq__list{
  max-width:720px;margin:0 auto;
  display:flex;flex-direction:column;gap:10px;
}
.faq__item{
  border:1px solid #eee;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.faq__item[open]{
  border-color:rgba(201,152,2,0.4);
  box-shadow:0 6px 22px rgba(0,0,0,0.06);
}
.faq__q{
  list-style:none;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 22px;
  font-size:16px;font-weight:700;color:#333;
  cursor:pointer;
  gap:16px;
}
.faq__q::-webkit-details-marker{display:none;}
.faq__q::after{
  content:'+';
  color:#C99802;font-size:22px;font-weight:900;
  transition:transform .25s ease;
  width:28px;text-align:center;
  flex-shrink:0;
}
.faq__item[open] .faq__q::after{transform:rotate(45deg);}
.faq__a{
  padding:0 22px 20px;
  font-size:15px;color:#555;line-height:1.6;
}

/* ===== Live-Tag (Final CTA) ===== */
.tag-live{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 10px;
  border-radius:100px;
  font-size:12px;font-weight:900;
  background:#e8f5e9;color:#2E8B57;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.tag-live::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:#2E8B57;
  animation:lt-pulse 2s infinite;
}
.lp-final-cta__livetag{margin-bottom:14px;}

/* ===== Responsive tuning ===== */

/* Tablets & large phones */
@media(max-width:768px){
  .live-ticker__item{font-size:12px;}
  .live-ticker__track{gap:28px;padding:8px 0;}
  .hero-visual-anim{max-width:420px;margin:0 auto;}
  .hero-visual-anim__shield{width:92px;height:108px;}
  .hero-visual-anim__orbit{width:220px;height:220px;margin:-110px 0 0 -110px;}
  .hero-visual-anim__orbit--2{width:160px;height:160px;margin:-80px 0 0 -80px;}
  .hero-visual-anim__dot{margin:-5px 0 0 105px;}
  .hero-visual-anim__dot--b{margin-left:-75px;}
  .hero-visual-anim__label{font-size:10px;padding:4px 8px;}
  .live-probe{padding:16px;margin-top:20px;}
  .live-probe__q{font-size:15px;}
  .live-probe__chip{font-size:12px;padding:9px 6px;}
  .faq{padding:40px 0;}
  .faq__q{padding:16px 18px;font-size:15px;}
  .faq__a{padding:0 18px 16px;font-size:14px;}
  .testimonial-carousel__nav{width:34px;height:34px;font-size:18px;}
}

/* Small phones */
@media(max-width:480px){
  .live-ticker__item{font-size:11px;letter-spacing:0;}
  .live-ticker__track{gap:22px;}
  .live-ticker__sep{display:none;}
  .hero-visual-anim{max-width:340px;}
  .hero-visual-anim__shield{width:78px;height:92px;}
  .hero-visual-anim__orbit{width:180px;height:180px;margin:-90px 0 0 -90px;}
  .hero-visual-anim__orbit--2{width:130px;height:130px;margin:-65px 0 0 -65px;}
  .hero-visual-anim__dot{margin:-5px 0 0 85px;}
  .hero-visual-anim__dot--b{margin-left:-60px;}
  .hero-visual-anim__label{font-size:9px;padding:3px 7px;}
  .hero-visual-anim__label--a{top:8%;left:4%;}
  .hero-visual-anim__label--b{top:10%;right:4%;}
  .hero-visual-anim__label--c{bottom:8%;left:4%;}
  .hero-visual-anim__label--d{bottom:10%;right:4%;}
  .hero-visual-anim__corner{font-size:9px;}
  .live-probe{padding:14px;}
  .live-probe__options{gap:6px;}
  .live-probe__chip{font-size:11.5px;padding:9px 4px;}
  .risk-card__spark{top:14px;right:14px;font-size:10px;padding:2px 7px;}
  .testimonial-carousel__nav--prev{left:-2px;}
  .testimonial-carousel__nav--next{right:-2px;}
  .testimonial-carousel__nav{width:32px;height:32px;font-size:16px;box-shadow:0 2px 8px rgba(0,0,0,0.12);}
  .lp-final-cta{padding:48px 0;}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  .live-ticker__track,
  .live-ticker__pulse,
  .hero-visual-anim__glow,
  .hero-visual-anim__shield,
  .hero-visual-anim__orbit,
  .hero-visual-anim__label,
  .hero-visual-anim__corner--r::before,
  .rotator__word,
  .tag-live::before{
    animation:none !important;
  }
  .testimonial-carousel__track{transition:none !important;}
}
