
/* Shared Defiller header. Edit this file once for all public pages. */
@keyframes defillerLogoGlow {
  0%, 100% { text-shadow: 0 0 15px rgba(220,100,0,.7), 0 0 30px rgba(220,100,0,.35); }
  50% { text-shadow: 0 0 28px rgba(220,100,0,1), 0 0 52px rgba(220,100,0,.55); }
}
.defiller-shared-header {
  background: #0a0a0e;
  border-bottom: 1px solid #1a1a22;
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 9000;
  box-sizing: border-box;
}
.defiller-shared-header .logo,
.defiller-shared-header .defiller-logo {
  color: #dc6400;
  font-family: Consolas, 'Courier New', monospace;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 5px;
  text-decoration: none;
  animation: defillerLogoGlow 2.6s ease-in-out infinite;
}
.defiller-shared-header .nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.defiller-shared-header .nav-link {
  color: #8a8a9a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s, text-shadow .3s;
  position: relative;
  padding: 4px 0;
}
.defiller-shared-header .nav-link:hover,
.defiller-shared-header .nav-link.active {
  color: #dc6400;
  text-shadow: 0 0 10px rgba(220,100,0,.6), 0 0 20px rgba(220,100,0,.3);
}
.defiller-shared-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: #dc6400;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(220,100,0,.7);
}
.defiller-shared-header .nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Download button — Soft Glow (based on .btn-hero from index.html) */
.defiller-shared-header .btn-download {
  height: 34px;
  padding: 0 18px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(220,100,0,.4);
  border-radius: 20px;
  background: rgba(220,100,0,.1);
  color: #dc6400;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: inset 0 0 15px rgba(220,100,0,0), 0 0 0 rgba(220,100,0,0);
  white-space: nowrap;
}
.defiller-shared-header .btn-download .btn-download-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(220,100,0,.25); border: 1px solid rgba(220,100,0,.5);
  font-size: 10px; color: #dc6400; flex-shrink: 0;
  transition: all .3s ease;
}
.defiller-shared-header .btn-download:hover {
  background: rgba(220,100,0,.2);
  border-color: #dc6400;
  color: #fff;
  box-shadow: inset 0 0 20px rgba(220,100,0,.5), 0 0 20px rgba(220,100,0,.3);
  transform: scale(1.02) translateY(-2px);
}
.defiller-shared-header .btn-download:hover .btn-download-icon {
  background: rgba(220,100,0,.5); color: #fff;
}
.defiller-shared-header .btn {
  height: 32px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a22;
  border-radius: 18px;
  background: #0f0f14;
  color: #c9c9d4;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  text-decoration: none;
  transition: all .2s;
}
.defiller-shared-header .btn:hover {
  border-color: #dc6400;
  color: #dc6400;
  transform: translateY(-1px);
}
.defiller-shared-header .btn-accent {
  background: rgba(220,100,0,.12);
  border-color: rgba(220,100,0,.42);
  color: #dc6400;
}
.defiller-shared-header .btn-accent:hover {
  color: #fff;
  box-shadow: inset 0 0 18px rgba(220,100,0,.45), 0 0 18px rgba(220,100,0,.22);
}
.defiller-user-widget {
  display: none;
  align-items: center;
  gap: 0;
  background: #14141c;
  border: 1px solid #1a1a22;
  border-radius: 24px;
  padding: 4px;
  cursor: pointer;
  user-select: none;
  color: #c9c9d4;
  box-sizing: border-box;
}
.defiller-user-widget .cw-tariff { padding: 4px 10px; font-size: 10px; font-weight: 700; color: #4ade80; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.defiller-user-widget .cw-sep { width: 1px; height: 18px; background: #1a1a22; }
.defiller-user-widget .cw-nick { padding: 4px 12px; font-size: 12px; color: #fff; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.defiller-user-widget .cw-bell { width: 32px; height: 32px; border-radius: 50%; background: none; border: none; cursor: pointer; position: relative; color: #8a8a9a; font-size: 14px; transition: all .2s; }
.defiller-user-widget .cw-bell:hover { color: #dc6400; background: rgba(220,100,0,.1); }
.defiller-user-widget .cw-badge { position: absolute; top: -2px; right: -2px; background: #ef4444; color: #fff; border-radius: 10px; min-width: 15px; height: 15px; font-size: 9px; font-weight: 700; display: none; align-items: center; justify-content: center; padding: 0 3px; }
.defiller-user-widget .cw-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#f07800,#dc6400); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; margin-right: 2px; border: 2px solid rgba(220,100,0,.2); }
.defiller-widget-dropdown {
  position: fixed;
  top: 58px;
  right: 24px;
  width: 240px;
  background: #0f0f14;
  border: 1px solid #1a1a22;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(0,0,0,.82);
  z-index: 9099;
  overflow: hidden;
  display: none;
}
.defiller-widget-dropdown.notif { width: 360px; max-height: 400px; overflow-y: auto; }
.defiller-widget-dropdown.open { display: block; }
.defiller-wd-header { padding: 14px 18px; background: linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01)); border-bottom: 1px solid #1a1a22; }
.defiller-wd-row { display: flex; align-items: center; gap: 12px; }
.defiller-wd-name { font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.defiller-wd-plan { font-size: 11px; color: #8a8a9a; }
.defiller-wd-item { padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c9c9d4; cursor: pointer; transition: background .18s,color .18s; text-decoration: none; }
.defiller-wd-item:hover { background: rgba(220,100,0,.1); color: #dc6400; }
.defiller-wd-sep { height: 1px; background: #1a1a22; margin: 5px 0; }
.defiller-wd-val { margin-left: auto; font-size: 11px; color: #8a8a9a; font-weight: 600; }
.defiller-wd-notifs { display: none; border-top: 1px solid #1a1a22; max-height: 320px; overflow: auto; }
.defiller-wd-notifs.open { display: block; }
.defiller-wd-notif { padding: 10px 18px; border-bottom: 1px solid #1a1a22; font-size: 12px; color: #c9c9d4; line-height: 1.45; }
.defiller-wd-empty { padding: 14px 18px; font-size: 12px; color: #555; text-align: center; }
/* Burger toggle (mobile) */
.defiller-burger { display: none; background: none; border: none; color: #dc6400; font-size: 24px; cursor: pointer; padding: 4px 8px; line-height: 1; }
#authBar,.auth-bar,.auth-bar-inner,.auth-notif-wrap,.auth-notif-dropdown,.ud-wrap,.ud-trigger,.ud-menu,.ud-bell-wrap,.ud-notif-dd,.user-widget,.widget-dropdown{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;pointer-events:none!important}
@media(max-width:768px){
  .defiller-shared-header{padding:0 14px;gap:12px}
  .defiller-burger{display:block}
  .defiller-shared-header .nav-menu{
    display:none;
    position:absolute;
    top:56px;left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    background:#0a0a0e;
    border-bottom:1px solid #1a1a22;
    box-shadow:0 18px 46px rgba(0,0,0,.7);
    padding:8px 0;
  }
  .defiller-shared-header .nav-menu.open{display:flex}
  .defiller-shared-header .nav-menu .nav-link{padding:13px 20px;font-size:14px}
  .defiller-shared-header .nav-link.active::after{display:none}
  .defiller-shared-header .nav-right{gap:6px}
  .defiller-shared-header .btn-download{height:28px;padding:0 12px 0 4px;font-size:9px;gap:6px}
  .defiller-shared-header .btn-download .btn-download-icon{width:20px;height:20px;font-size:8px}
  .defiller-shared-header .btn:not(.btn-download){display:none}
  .defiller-user-widget .cw-tariff,.defiller-user-widget .cw-nick,.defiller-user-widget .cw-sep{display:none}
  .defiller-widget-dropdown{right:12px;top:58px;width:calc(100vw - 24px)}
  .defiller-widget-dropdown.notif{width:calc(100vw - 24px)}
}
/* Orange accent divider line under header (variant #05 Gradient Accent) */
.defiller-shared-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dc6400, transparent);
  pointer-events: none;
}


/* Main page chapter navigation */
.defiller-side-nav{position:fixed;left:0;top:0;bottom:0;width:180px;z-index:8900;display:flex;flex-direction:column;justify-content:center;padding-left:40px;pointer-events:none}
.defiller-side-nav:before{content:none}
.defiller-side-link{display:flex;align-items:center;text-decoration:none;pointer-events:auto;position:relative;cursor:pointer;height:50px}
.defiller-side-link:before{content:'';position:absolute;left:7px;top:0;bottom:0;width:2px;background:rgba(255,255,255,.1);border-radius:2px;z-index:1}
.defiller-side-link:first-child:before{top:50%}
.defiller-side-link:last-child:before{bottom:50%}
.defiller-side-dot{width:16px;height:16px;background:#050507;border:2px solid rgba(255,255,255,.3);border-radius:50%;position:absolute;left:0;top:50%;transform:translateY(-50%);transition:.3s;z-index:2}
.defiller-side-text{color:#8a8a9a;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-left:30px;opacity:0;transform:translateY(10px) scale(.9);transition:all .4s cubic-bezier(.175,.885,.32,1.275);white-space:nowrap}
.defiller-side-nav:hover .defiller-side-text{opacity:.6;transform:translateY(0) scale(1)}
.defiller-side-link:hover .defiller-side-dot,.defiller-side-link.active .defiller-side-dot{background:#dc6400;border-color:#dc6400;box-shadow:0 0 15px rgba(220,100,0,.6)}
.defiller-side-link:hover .defiller-side-text{opacity:1;color:#dc6400;transform:translateY(0) scale(1.05)}
.defiller-side-link:nth-child(1) .defiller-side-text{transition-delay:0s}.defiller-side-link:nth-child(2) .defiller-side-text{transition-delay:.05s}.defiller-side-link:nth-child(3) .defiller-side-text{transition-delay:.1s}.defiller-side-link:nth-child(4) .defiller-side-text{transition-delay:.15s}.defiller-side-link:nth-child(5) .defiller-side-text{transition-delay:.2s}.defiller-side-link:nth-child(6) .defiller-side-text{transition-delay:.25s}.defiller-side-link:nth-child(7) .defiller-side-text{transition-delay:.3s}.defiller-side-link:nth-child(8) .defiller-side-text{transition-delay:.35s}
@media(min-width:769px){body.defiller-home .hero,body.defiller-home section,body.defiller-home .trial-promo,body.defiller-home .discount-system{padding-left:180px!important}}
@media(max-width:768px){.defiller-side-nav{display:none!important}}


/* ─── Antivirus confirmation modal ─── */
/* Perf: only `opacity` and `transform` are animated (compositor-only).
   Blur and background are static — transitioning them forces a full
   re-render of the blurred backdrop every frame and tanks the FPS. */
.defiller-av-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity .28s ease, visibility 0s .28s;
  contain: layout paint;
}
.defiller-av-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s ease, visibility 0s 0s;
  will-change: opacity;
}
.defiller-av-modal {
  background: #0c0c12;
  border: 1px solid #1e1e2a;
  border-radius: 20px;
  max-width: 520px;
  width: 92vw;
  padding: 0;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 60px rgba(220,100,0,.08);
  transform: translate3d(0,30px,0) scale(.94);
  opacity: 0;
  transition: transform .34s cubic-bezier(.34,1.4,.64,1), opacity .26s ease;
  overflow: hidden;
  backface-visibility: hidden;
}
.defiller-av-overlay.open .defiller-av-modal {
  transform: translate3d(0,0,0) scale(1);
  opacity: 1;
  will-change: transform, opacity;
}
.defiller-av-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.defiller-av-shield {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220,100,0,.18), rgba(220,100,0,.06));
  border: 1px solid rgba(220,100,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
/* Glow pulse via opacity on a static shadow layer instead of animating
   box-shadow, which would repaint on every frame. */
.defiller-av-shield::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 20px 4px rgba(220,100,0,.15);
  opacity: 0;
  pointer-events: none;
  animation: defiller-av-pulse 2.4s ease-in-out infinite;
  will-change: opacity;
}
@keyframes defiller-av-pulse {
  0%,100% { opacity: 0; }
  50%     { opacity: 1; }
}
.defiller-av-title {
  font-size: 17px;
  font-weight: 700;
  color: #f0f0f5;
  line-height: 1.3;
  letter-spacing: -.2px;
}
.defiller-av-body {
  padding: 20px 32px 6px;
}
.defiller-av-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: #a0a0b0;
}
.defiller-av-text strong {
  color: #d0d0da;
  font-weight: 600;
}
.defiller-av-text em {
  font-style: normal;
  color: #dc6400;
  font-weight: 600;
}
.defiller-av-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.defiller-av-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #8a8a9a;
  line-height: 1.6;
}
.defiller-av-steps li::before {
  content: attr(data-num);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(220,100,0,.1);
  border: 1px solid rgba(220,100,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #dc6400;
  margin-top: 1px;
}
.defiller-av-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #1e1e2a, transparent);
  margin: 18px 32px 0;
}
.defiller-av-footer {
  padding: 18px 32px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.defiller-av-btn {
  height: 40px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
  letter-spacing: .3px;
}
.defiller-av-btn-cancel {
  background: #16161e;
  color: #8a8a9a;
  border: 1px solid #22222e;
}
.defiller-av-btn-cancel:hover {
  background: #1c1c26;
  color: #c0c0cc;
  border-color: #33333f;
}
.defiller-av-btn-disabled {
  background: #1a1a24 !important;
  color: #555 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}
.defiller-av-btn-disabled:hover {
  background: #1a1a24 !important;
  color: #555 !important;
  box-shadow: none !important;
  transform: none !important;
}
.defiller-av-download-link {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.defiller-av-btn-confirm {
  background: linear-gradient(135deg, #dc6400, #c05800);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,100,0,.25);
}
.defiller-av-btn-confirm:hover {
  background: linear-gradient(135deg, #e67a1a, #dc6400);
  box-shadow: 0 6px 28px rgba(220,100,0,.4);
  transform: translate3d(0,-1px,0);
}
.defiller-av-btn-confirm:active {
  transform: translate3d(0,0,0);
  box-shadow: 0 2px 12px rgba(220,100,0,.3);
}
/* Confirmed state: green download button replaces the link */
.defiller-av-confirmed {
  position: relative;
  overflow: hidden;
}
.defiller-av-confirmed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: defiller-av-shine .8s ease-out forwards;
  will-change: transform, opacity;
  pointer-events: none;
}
@keyframes defiller-av-shine {
  from { transform: translate3d(-100%,0,0); }
  to   { transform: translate3d(100%,0,0); opacity: 0; }
}
/* Close icon */
.defiller-av-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.defiller-av-close:hover {
  background: rgba(255,255,255,.06);
  color: #999;
}
@media(max-width:480px){
  .defiller-av-modal { border-radius: 16px; }
  .defiller-av-header { padding: 22px 20px 0; gap: 10px; }
  .defiller-av-body { padding: 16px 20px 4px; }
  .defiller-av-divider { margin: 14px 20px 0; }
  .defiller-av-footer { padding: 14px 20px 20px; }
  .defiller-av-title { font-size: 15px; }
  .defiller-av-text { font-size: 12.5px; }
  .defiller-av-shield { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .defiller-av-btn { height: 38px; padding: 0 18px; font-size: 12px; }
}
/* Mobile GPUs choke on a full-screen backdrop blur — drop it and use a
   solid scrim instead. Keeps the open animation at 60fps on phones. */
@media(max-width:768px){
  .defiller-av-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0,0,0,.86);
  }
}
/* Respect the OS "reduce motion" setting: no slide/scale/pulse. */
@media(prefers-reduced-motion:reduce){
  .defiller-av-overlay,
  .defiller-av-modal { transition-duration: .12s; }
  .defiller-av-modal { transform: none !important; }
  .defiller-av-shield::after,
  .defiller-av-confirmed::after { animation: none; }
}

/* Home page readability boost */
body.defiller-home .hero-title { font-size: 50px !important; line-height: 1.14 !important; letter-spacing: -1px; }
body.defiller-home .hero-desc { font-size: 18px !important; line-height: 1.75 !important; max-width: 760px !important; color: #d8d8e2 !important; }
body.defiller-home .section-title { font-size: 38px !important; line-height: 1.2 !important; margin-bottom: 56px !important; }
body.defiller-home .trial-promo-content h3 { font-size: 22px !important; }
body.defiller-home .trial-promo-content p { font-size: 15px !important; line-height: 1.75 !important; }
body.defiller-home .ds-title { font-size: 42px !important; line-height: 1.22 !important; }
body.defiller-home .ds-subtitle { font-size: 17px !important; line-height: 1.75 !important; }
body.defiller-home .ds-step h4 { font-size: 17px !important; }
body.defiller-home .ds-step p { font-size: 14px !important; line-height: 1.75 !important; }
body.defiller-home .feature-title { font-size: 17px !important; }
body.defiller-home .feature-desc { font-size: 14px !important; line-height: 1.7 !important; }
body.defiller-home .pricing-name { font-size: 20px !important; }
body.defiller-home .pricing-price { font-size: 48px !important; }
body.defiller-home .pricing-period,
body.defiller-home .pricing-features li { font-size: 14px !important; line-height: 1.65 !important; }
body.defiller-home .faq-question { font-size: 17px !important; }
body.defiller-home .faq-answer-content { font-size: 15px !important; line-height: 1.8 !important; }
body.defiller-home .support-title { font-size: 18px !important; }
body.defiller-home .support-desc,
body.defiller-home .support-link { font-size: 14px !important; }
body.defiller-home .footer-col-title { font-size: 14px !important; }
body.defiller-home .footer-link { font-size: 13px !important; }
body.defiller-home .footer-bottom { font-size: 12px !important; }
@media(max-width:768px){
  body.defiller-home .hero-title { font-size: 34px !important; }
  body.defiller-home .hero-desc { font-size: 16px !important; }
  body.defiller-home .section-title,
  body.defiller-home .ds-title { font-size: 28px !important; }
}
