
/* Hide legacy page headers before shared-header.js replaces them, preventing overlap/flicker. */
html:not(.defiller-shared-ready) header.header,
html:not(.defiller-shared-ready) .header:not(.defiller-shared-header) {
  visibility: hidden !important;
}
html.defiller-shared-ready .defiller-shared-header { visibility: visible !important; }


/* 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: 32px;
  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: 22px;
  align-items: center;
}
.defiller-shared-header .nav-link {
  color: #8a8a9a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.defiller-shared-header .nav-link:hover { color: #dc6400; }
.defiller-shared-header .nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 188px;
}
.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 {
  position: fixed;
  right: 24px;
  top: 7px;
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  max-width: 260px;
  height: 42px;
  padding: 4px 6px 4px 14px;
  background: linear-gradient(180deg,#111118,#0c0c10);
  border: 1px solid rgba(220,100,0,.26);
  border-radius: 28px;
  box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  z-index: 9100;
  user-select: none;
  color: #c9c9d4;
  box-sizing: border-box;
}
.defiller-user-widget:hover {
  border-color: #dc6400;
  box-shadow: 0 12px 32px rgba(0,0,0,.55), 0 0 18px rgba(220,100,0,.18);
  transform: translateY(-1px);
}
.defiller-user-widget-info { min-width: 0; flex: 1; line-height: 1.15; text-align: left; }
.defiller-user-widget-plan { font-size: 8px; line-height: 1; color: #dc6400; text-transform: uppercase; font-weight: 800; letter-spacing: .7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.defiller-user-widget-name { margin-top: 2px; font-size: 13px; line-height: 1.1; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.defiller-user-widget-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.defiller-user-widget-bell { position: relative; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #8a8a9a; font-size: 15px; }
.defiller-user-widget-badge { position: absolute; top: -4px; right: -4px; display: none; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: #ef4444; color: #fff; font-size: 9px; font-weight: 800; line-height: 15px; text-align: center; }
.defiller-user-widget-avatar { width: 34px; height: 34px; flex: 0 0 34px; background: linear-gradient(135deg,#f07800,#dc6400); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 3px rgba(220,100,0,.12); }
.defiller-widget-dropdown {
  position: fixed;
  top: 58px;
  right: 24px;
  width: 324px;
  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.open { display: block; }
.defiller-wd-header { padding: 18px 20px; 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: 13px 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; 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: 220px; 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; }
#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}.defiller-shared-header .nav-menu,.defiller-shared-header .nav-right{display:none}.defiller-user-widget{right:12px;top:7px;min-width:42px;width:42px;padding:4px}.defiller-user-widget-info,.defiller-user-widget-bell{display:none}.defiller-widget-dropdown{right:12px;top:58px;width:calc(100vw - 24px)}
}


/* 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:'';position:absolute;left:47px;top:50%;transform:translateY(-50%);width:2px;height:350px;background:rgba(255,255,255,.1);border-radius:2px}
.defiller-side-link{display:flex;align-items:center;text-decoration:none;pointer-events:auto;position:relative;cursor:pointer;height:50px}
.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}
@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}}


/* 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; }
}
