
/* =========================================================
   TRAINING FORM HONEYPOT

   Не използваме display:none, защото някои bot-ове
   разпознават такива полета.
========================================================= */

.training-honeypot{
    position:absolute !important;

    left:-10000px !important;
    top:auto !important;

    width:1px !important;
    height:1px !important;

    overflow:hidden !important;

    opacity:.01 !important;

    pointer-events:none !important;
}
/* ===== Premium password field ===== */
.zn-password-wrap{
  position: relative;
}

.zn-input-password{
  padding-right: 52px !important;
}
.alert{
        color: #022450 !important;

}

.zn-password-toggle{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;

  display: grid;
  place-items: center;

  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);

  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.zn-password-toggle:hover{
  color: #fff;
  background: rgba(255,193,7,.12);
  border-color: rgba(255,193,7,.35);
  box-shadow: 0 8px 20px rgba(255,193,7,.12);
}

.zn-password-toggle:active{
  transform: translateY(-50%) scale(.96);
}

.zn-password-toggle:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,193,7,.20);
}

.zn-password-toggle i{
  font-size: 1rem;
  line-height: 1;
}
/* ===== Compact hero demo CTA ===== */
.zn-hero-demo-cta{
  margin-top: 16px;
  width: 100%;
  max-width: 430px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 18px;

  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.zn-hero-demo-main{
  min-width: 0;
  text-align: left;
}

.zn-hero-demo-title{
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: .95rem;
  font-weight: 850;
  line-height: 1.15;
  color: rgba(255,255,255,.95);
}

.zn-hero-demo-title i{
  color: #ffc107;
  font-size: 1.05rem;
}

.zn-hero-demo-sub{
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.25;
  color: rgba(255,255,255,.64);
}

.zn-hero-demo-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.zn-hero-demo-chips span{
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 4px 7px;
  border-radius: 999px;

  font-size: .72rem;
  line-height: 1;
  color: rgba(255,255,255,.68);

  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
}

.zn-hero-demo-btn{
  flex: 0 0 auto;

  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  font-size: .9rem;
  font-weight: 850;
  color: #111827;

  background: linear-gradient(135deg, #ffc107, #ffe08a);
  box-shadow: 0 10px 24px rgba(255,193,7,.22);

  transition: transform .16s ease, box-shadow .16s ease;
}

.zn-hero-demo-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255,193,7,.30);
}

.zn-hero-demo-btn:active{
  transform: translateY(0) scale(.98);
}

@media (max-width: 576px){
  .zn-hero-demo-cta{
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }

  .zn-hero-demo-btn{
    width: 100%;
  }
}
.zn-register-text-link{
  color: #8fb3ff;
  font-weight: 700;
  text-decoration: none;
}

.zn-register-text-link:hover,
.zn-register-text-link:focus{
  color: #b8cfff;
  text-decoration: underline;
}
.zn-login-form{
  margin-top: 1rem;
}

.zn-method-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px;
}

.zn-method-card-social{
  margin-top: 0;
}

.zn-method-head{
  margin-bottom: 14px;
}

.zn-method-title{
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,.96);
}

.zn-method-sub{
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  margin-top: 2px;
}

.zn-login-divider{
  position: relative;
  text-align: center;
  margin: 16px 0;
}

.zn-login-divider::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
}
.zn-login-divider span{
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: rgba(13,18,38,1);
  color: rgba(255,255,255,.55);
  font-size: .88rem;
}

.zn-google-btn,
.zn-apple-btn{
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  font-weight: 700;
}

.zn-apple-btn{
  margin-top: 10px;
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.zn-login-card h2{
  margin-bottom: .35rem;
}

.zn-login-card .btn-primary{
  box-shadow: 0 10px 28px rgba(77, 110, 255, .28);
}

.zn-login-card label{
  margin-bottom: 8px;
  color: rgba(255,255,255,.86);
  font-weight: 600;
}

.zn-input::placeholder{
  color: rgba(255,255,255,.38);
}
.footer-contact {
  margin-top: 2.5rem !important;
  padding-bottom: 1.5rem !important;
  text-align: center !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.4rem !important;

  color: #cfd8ff !important;
  font-size: 0.95rem !important;
  opacity: 0.9 !important;
}

.footer-contact a {
  color: #cfd8ff !important;
  text-decoration: none !important;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: #1877f2 !important;
  text-decoration: none !important;
}

.footer-contact i {
  margin-right: 0.25rem !important;
}
/* ===== ECO WIDGET (cooler + fixed popover) ===== */
.zn-stat{ position: relative; }

/* Big pill */
.zn-eco-pill{
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 12px;
  border-radius: 18px;

  border: 1px solid rgba(34,197,94,.28);
  background:
    radial-gradient(120% 120% at 10% 20%, rgba(34,197,94,.22), transparent 55%),
    radial-gradient(120% 120% at 90% 10%, rgba(255,193,7,.16), transparent 55%),
    rgba(0,0,0,.18);
  box-shadow: 0 16px 46px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);

  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}

.zn-eco-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(255,193,7,.45);
  box-shadow: 0 20px 60px rgba(0,0,0,.38);
}

.zn-eco-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.zn-eco-icon{
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}

.zn-eco-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.zn-eco-title{
  font-size: .78rem;
  color: rgba(255,255,255,.70);
  letter-spacing: .2px;
  font-weight: 700;
}

.zn-eco-values{
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#znPagesSaved, #znTreesSaved{
  font-weight: 900;
  letter-spacing: .2px;
}

.zn-eco-values strong{
  font-size: 1.05rem;
  color: rgba(255,255,255,.94);
}

.zn-eco-sub{
  font-size: .92rem;
  color: rgba(255,255,255,.82);
}

.zn-eco-sep{
  opacity: .35;
}

/* Ring */
.zn-eco-right{ flex: 0 0 auto; }

.zn-eco-ring{
  width: 42px; height: 42px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
}

.zn-eco-ring-bg{
  fill: none;
  stroke: rgba(255,255,255,.10);
  stroke-width: 5;
}

.zn-eco-ring-fg{
  fill: none;
  stroke: rgba(255,193,7,.95);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 113.097; /* 2*pi*r (r=18) */
  stroke-dashoffset: 113.097;
  transition: stroke-dashoffset .8s cubic-bezier(.2,.9,.2,1);
}

/* Shine */
.zn-eco-shine{
  position:absolute;
  inset: -80px -120px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 60%);
  transform: rotate(12deg);
  pointer-events:none;
  opacity: .65;
}

/* Popover (fixed, so it never gets clipped) */
.zn-eco-pop{
  position: fixed;
  width: 320px;
  z-index: 9999;

  background: rgba(15,23,42,.92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);

  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.zn-eco-pop.is-open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.zn-eco-pop::before{
  content:"";
  position:absolute;
  width: 12px; height: 12px;
  background: rgba(15,23,42,.92);
  border-left: 1px solid rgba(255,255,255,.10);
  border-top: 1px solid rgba(255,255,255,.10);
  transform: rotate(45deg);
}

/* arrow: default is on top (popover opens downward) */
.zn-eco-pop.arrow-top::before{
  top: -6px;
  right: 24px;
}

/* arrow on bottom (popover opens upward) */
.zn-eco-pop.arrow-bottom::before{
  bottom: -6px;
  right: 24px;
  transform: rotate(225deg);
}

.zn-eco-pop-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.zn-eco-pop-title{
  font-weight: 900;
  letter-spacing: .2px;
}

.zn-eco-close{
  border: 0;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  width: 30px; height: 30px;
  border-radius: 10px;
  cursor: pointer;
}

.zn-eco-pop-body{ padding: 10px 12px 12px 12px; }

.zn-eco-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}

.zn-eco-k{ color: rgba(255,255,255,.72); font-size: .86rem; }
.zn-eco-v{ font-weight: 900; }

.zn-eco-meter{ margin-top: 10px; }
.zn-eco-meter-label{ font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 6px; }

.zn-eco-bar{
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.zn-eco-bar-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,197,94,.95), rgba(255,193,7,.95));
  transition: width .8s cubic-bezier(.2,.9,.2,1);
}

.zn-eco-meter-note{
  margin-top: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.72);
}
/* ✅ Mobile stats layout: да не излизат извън екрана */
@media (max-width: 576px){
  .zn-hero-stats{
    flex-wrap: wrap;
    gap: 12px;              /* 30px е много за мобилно */
  }

  /* Голямата карта (Тестове + eco pill) да е на цял ред */
  .zn-stat-tests{
    flex: 1 1 100%;
  }

  /* Останалите две да са по половин ред */
  .zn-hero-stats > .zn-stat:not(.zn-stat-tests){
    flex: 1 1 calc(50% - 6px);
    min-width: 0;           /* важно: позволява shrink */
  }
/* ===== Hero demo CTA under stats ===== */
.zn-hero-demo-cta{
  margin-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 14px 16px;
  border-radius: 22px;

  border: 1px solid rgba(255,193,7,.34);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,193,7,.20), transparent 52%),
    radial-gradient(120% 140% at 100% 0%, rgba(47,95,255,.20), transparent 55%),
    rgba(255,255,255,.055);

  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.zn-hero-demo-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%);
  animation: znHeroDemoShine 5s ease-in-out infinite;
  pointer-events:none;
}

@keyframes znHeroDemoShine{
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.zn-hero-demo-left{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
  text-align: left;
}

.zn-hero-demo-icon{
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display:grid;
  place-items:center;
  border-radius: 18px;
  color: #111827;
  background: linear-gradient(135deg, #ffc107, #ffdd75);
  box-shadow: 0 12px 30px rgba(255,193,7,.25);
}

.zn-hero-demo-title{
  font-weight: 900;
  color: rgba(255,255,255,.96);
  line-height: 1.1;
}

.zn-hero-demo-sub{
  margin-top: 3px;
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  line-height: 1.25;
}

.zn-hero-demo-btn{
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  color: #111827;
  background: linear-gradient(135deg, #ffc107, #ffe08a);
  box-shadow: 0 12px 28px rgba(255,193,7,.24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.zn-hero-demo-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255,193,7,.32);
}

.zn-hero-demo-btn:active{
  transform: translateY(0) scale(.98);
}

.zn-hero-demo-note{
  margin-top: 8px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.zn-hero-demo-note span{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 576px){
  .zn-hero-demo-cta{
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .zn-hero-demo-left{
    align-items: flex-start;
  }

  .zn-hero-demo-btn{
    width: 100%;
    justify-content: center;
  }

  .zn-hero-demo-icon{
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }
}
  /* По-компактно вътре */
  .zn-stat{
    padding: 10px;
  }
}
.zn-hero-stats{
  display:flex;
  gap:30px;
  margin-top:40px;
  align-items:flex-start;
}

.zn-hero-stats > .zn-stat:not(.zn-stat-tests){
  flex: 0 0 130px;
}
/* ===== Hero typing title ===== */
.zn-typing-title{
  min-height: 2.35em;
}

.zn-typing-title span{
  display: inline;
}



/* За хора с намалени анимации */
@media (prefers-reduced-motion: reduce){
  .zn-typing-cursor{
    animation: none;
    display: none !important;
  }
}/* ===== Premium hero badge ===== */
.zn-premium-badge{
  position: relative;
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 9px 13px;
  border-radius: 999px;

  color: rgba(255,255,255,.92);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .18px;

  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    radial-gradient(120% 180% at 0% 0%, rgba(255,193,7,.24), transparent 58%),
    rgba(0,0,0,.18);

  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 14px 36px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.14);

  backdrop-filter: blur(14px);
  overflow: hidden;
  isolation: isolate;
}

.zn-premium-badge::before{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,193,7,.12);
  pointer-events: none;
}

.zn-premium-badge::after{
  content: "";
  position: absolute;
  top: -60%;
  left: -35%;
  width: 42%;
  height: 220%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.22),
    transparent
  );

  transform: rotate(18deg) translateX(-180%);
  animation: znPremiumBadgeShine 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes znPremiumBadgeShine{
  0%, 58% {
    transform: rotate(18deg) translateX(-180%);
  }
  78%, 100% {
    transform: rotate(18deg) translateX(360%);
  }
}

.zn-premium-badge-icon{
  position: relative;
  z-index: 3;

  width: 26px;
  height: 26px;
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border-radius: 999px;
  color: #111827;

  background: linear-gradient(135deg, #ffc107, #ffe39b);
  box-shadow:
    0 0 0 4px rgba(255,193,7,.10),
    0 10px 24px rgba(255,193,7,.22);
}

.zn-premium-badge-icon i{
  font-size: .95rem;
}

.zn-premium-badge-text{
  position: relative;
  z-index: 3;
  white-space: nowrap;
}

.zn-premium-badge-glow{
  position: absolute;
  right: -28px;
  top: 50%;

  width: 86px;
  height: 86px;
  transform: translateY(-50%);

  background: radial-gradient(circle, rgba(255,193,7,.22), transparent 62%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 576px){
  .zn-premium-badge{
    max-width: 100%;
    padding: 8px 11px;
    font-size: .78rem;
  }

  .zn-premium-badge-text{
    white-space: normal;
  }

  .zn-premium-badge-icon{
    width: 24px;
    height: 24px;
  }
}
.zn-input{
  min-height: 52px;
  border-radius: 16px !important;
  background: rgba(7,12,28,.42) !important;
  border: 1px solid rgba(98,122,255,.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.zn-input:focus{
  border-color: rgba(255,193,7,.45) !important;
  box-shadow:
    0 0 0 .2rem rgba(255,193,7,.10),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.zn-hero-nvo-btn {
  margin-top: 12px;

  width: fit-content;
  min-height: 46px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border-radius: 999px;

  font-size: .95rem;
  font-weight: 950;
  letter-spacing: -.01em;

  color: #04130a;
  text-decoration: none;

  background:
    linear-gradient(135deg, #22c55e 0%, #86efac 48%, #38bdf8 100%);

  box-shadow:
    0 14px 32px rgba(34, 197, 94, .26),
    0 0 0 1px rgba(255,255,255,.35) inset;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.zn-hero-nvo-btn:hover {
  color: #04130a;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 42px rgba(34, 197, 94, .34),
    0 0 0 1px rgba(255,255,255,.45) inset;
}

.zn-hero-nvo-btn:active {
  transform: translateY(0);
}

.zn-hero-nvo-btn i {
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .zn-hero-nvo-btn {
    width: 100%;
    min-height: 48px;
  }
}
/* ===== Topbar NVO/DZI button ===== */
.zn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 14px 4px;
  margin-bottom: 10px;
}

.zn-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.zn-logo {
  height: 34px;
  width: auto;
  display: block;
}

.zn-brandname {
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.94);
  white-space: nowrap;
}

.zn-topbar-nvo-btn {
  min-height: 46px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 999px;

  color: #04130a;
  text-decoration: none;

  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.01em;
  white-space: nowrap;

  background:
    linear-gradient(135deg, #22c55e 0%, #86efac 48%, #38bdf8 100%);

  box-shadow:
    0 16px 36px rgba(34, 197, 94, .26),
    0 0 0 1px rgba(255,255,255,.38) inset;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.zn-topbar-nvo-btn:hover {
  color: #04130a;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.06);

  box-shadow:
    0 20px 46px rgba(34, 197, 94, .36),
    0 0 0 1px rgba(255,255,255,.50) inset;
}

.zn-topbar-nvo-btn:active {
  transform: translateY(0);
}

.zn-topbar-nvo-btn i {
  font-size: 18px;
}

/* таблет */
@media (max-width: 900px) {
  .zn-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .zn-topbar-nvo-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* телефон */
@media (max-width: 520px) {
  .zn-topbar-nvo-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.18;
    padding: 10px 14px;
  }
}
