/* BotixTech dark theme for merged PDF tools (ex-pdftechsoft pages) */
.pdftool-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.tool-page-hero { text-align: center; padding: 34px 20px 10px; }
.tool-page-hero h1 { font-size: 34px; color: #ffffff; margin: 0 0 10px; line-height: 1.3; }
.tool-page-hero p { color: #9aa3b8; font-size: 16px; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.tool-page-icon { text-align: center; font-size: 44px; margin: 6px 0 0; }
.tool-trust-bar { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 18px 10px 6px; }
.trust-item { color: #9aa3b8; font-size: 13.5px; display: flex; align-items: center; gap: 7px; }
.trust-item::before { content: "\2713"; color: #4ade80; font-weight: 700; }
.tool-card-wrapper { margin: 26px auto; max-width: 760px; }
.tool-card-main { background: #141d33; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 30px 26px; box-shadow: 0 10px 34px rgba(0,0,0,.35); }
#drop-zone { border: 2px dashed rgba(124,58,237,.55); border-radius: 12px; padding: 38px 20px; text-align: center; background: rgba(124,58,237,.06); transition: .2s; cursor: pointer; }
#drop-zone:hover, #drop-zone.dragover { background: rgba(124,58,237,.13); border-color: #7c3aed; }
#drop-zone .drop-zone-icon { color: #a78bfa; margin-bottom: 10px; }
#drop-zone p { color: #c6cde0; margin: 8px 0; font-size: 15px; }
#drop-zone .accepted-types { color: #7c8aa5; font-size: 13px; }
.select-file-btn { background: linear-gradient(135deg,#7c3aed,#4f46e5); color: #fff; border: none; border-radius: 30px; padding: 12px 30px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 8px; box-shadow: 0 4px 14px rgba(124,58,237,.45); }
.select-file-btn:hover { filter: brightness(1.1); }
#file-list { list-style: none; margin: 18px 0 0; padding: 0; }
#file-list li { background: #0f1629; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; color: #dbe2f4; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#file-list button { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #f87171; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
#tool-options { margin-top: 14px; color: #c6cde0; font-size: 14px; }
#tool-options label { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
#tool-options input[type="number"], #tool-options input[type="text"], #tool-options select { background: #0f1629; border: 1px solid rgba(255,255,255,.14); color: #e6e9f5; border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.loader-container { display: none; text-align: center; padding: 22px 0 6px; }
.loader-container.active { display: block; }
.loader { width: 44px; height: 44px; margin: 0 auto 10px; border: 4px solid rgba(124,58,237,.25); border-top-color: #7c3aed; border-radius: 50%; animation: pdfspin 0.9s linear infinite; }
@keyframes pdfspin { to { transform: rotate(360deg); } }
#loader-text { color: #9aa3b8; font-size: 14px; }
#output-area { margin-top: 16px; text-align: center; }
#output-area a { display: inline-block; background: linear-gradient(135deg,#16a34a,#15803d); color: #fff; font-weight: 700; padding: 13px 32px; border-radius: 30px; text-decoration: none; margin-top: 10px; box-shadow: 0 4px 14px rgba(22,163,74,.4); }
.process-section { text-align: center; margin-top: 20px; }
#process-btn { background: linear-gradient(135deg,#7c3aed,#4f46e5); color: #fff; border: none; border-radius: 30px; padding: 14px 44px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(124,58,237,.45); }
#process-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
#process-btn:not(:disabled):hover { filter: brightness(1.12); }
.tool-info-section { margin: 34px auto; max-width: 900px; padding: 0 20px; }
.tool-info-card { background: #141d33; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 28px; }
.tool-info-card h2 { color: #fff; font-size: 22px; margin: 0 0 18px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step-item { background: #0f1629; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 18px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#4f46e5); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.step-item h4 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.step-item p { color: #9aa3b8; font-size: 14px; line-height: 1.65; margin: 0; }
.tool-content-section { max-width: 860px; margin: 40px auto 10px; padding: 0 20px; }
.tool-content-section h2 { color: #f0f0fa; font-size: 22px; font-weight: 700; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tool-content-section h3 { color: #ffffff; font-size: 19px; margin: 28px 0 10px; }
.tool-content-section h4 { color: #e6e9f5; font-size: 16px; margin: 20px 0 8px; }
.tool-content-section p { color: #9aa3b8; line-height: 1.8; font-size: 15px; margin-bottom: 12px; }
.tool-content-section ul, .tool-content-section ol { color: #9aa3b8; margin: 12px 0 20px 24px; line-height: 1.8; font-size: 15px; }
.tool-content-section li { margin-bottom: 8px; }
.tool-content-section a { color: #c4b5fd; text-decoration: underline; }
.tool-content-section strong { color: #dbe2f4; }
.bt-crumb { font-size: 14px; margin: 18px 0 4px; color: #7c8aa5; }
.bt-crumb a { color: #c4b5fd; text-decoration: none; }
.bt-crumb a:hover { text-decoration: underline; }
.bt-prose-link { max-width: 860px; margin: 26px auto 0; padding: 0 20px; color: #9aa3b8; font-size: 15px; line-height: 1.7; }
.bt-prose-link a { color: #c4b5fd; }
@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
  .tool-page-hero h1 { font-size: 26px; }
  .tool-card-main { padding: 20px 16px; }
}

/* Related tools - card style */
.tools-links { max-width: 860px; margin: 0 auto; padding: 10px 20px 50px; }
.tools-links h2 { color: #f0f0fa; font-size: 22px; font-weight: 700; margin: 30px 0 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tools-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tools-links li { margin: 0; }
.tools-links a { display: block; background: #141d33; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 14px 16px; color: #dbe2f4 !important; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: transform .15s, border-color .15s; }
.tools-links a:hover { transform: translateY(-2px); border-color: #7c3aed; color: #fff !important; }

/* FAQ boxes */
.faq-item { background: #141d33; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; }
.faq-item h3, .faq-item p strong { color: #c4b5fd !important; font-size: 16px; margin: 0 0 8px; }
.faq-item h3 { margin-top: 0 !important; }
.faq-item p { margin: 0; color: #9aa3b8; line-height: 1.7; font-size: 14.5px; }

/* ===== Animated background blobs + grid (matches classic pages) ===== */
.bg-blobs,.bg-grid{pointer-events:none;position:fixed;inset:0;}
.bg-blobs{z-index:0;}
.blob{position:absolute;border-radius:50%;filter:blur(120px);opacity:.18;}
.blob-1{width:600px;height:600px;background:#7c3aed;top:-200px;left:-100px;animation:18s ease-in-out infinite alternate drift1;}
.blob-2{width:500px;height:500px;background:#06b6d4;bottom:-150px;right:-100px;animation:22s ease-in-out infinite alternate drift2;}
.blob-3{width:300px;height:300px;background:#f59e0b;top:40%;left:55%;animation:15s ease-in-out infinite alternate drift3;}
@keyframes drift1{from{transform:translate(0,0) scale(1);}to{transform:translate(60px,40px) scale(1.1);}}
@keyframes drift2{from{transform:translate(0,0) scale(1);}to{transform:translate(-50px,30px) scale(1.08);}}
@keyframes drift3{from{transform:translate(0,0);}to{transform:translate(30px,-40px);}}
.bg-grid{z-index:1;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:40px 40px;}
.bg-grid::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,transparent 40%,#060612 100%);}
.wrapper > :not(.bg-blobs):not(.bg-grid):not(#header_main){position:relative;z-index:2;}

/* ===== Spinning header logo (matches homepage) ===== */
.brand:before{background-size:100% 100%;content:"BotixTech";line-height:200px;color:#f5f2f7;font-size:20px;font-family:"HEAVITAS","Helvetica Rounded",Arial,sans-serif;font-weight:700;text-align:center;width:200px;height:200px;margin:0 auto;position:absolute;z-index:99999!important;}
.logo svg path{position:absolute;stroke-width:2;top:0;left:0;transform-origin:50% 50%;transform:rotate(0deg);animation:4s linear infinite;}
.logo svg path:first-child{opacity:1;animation-name:rotate-1;animation-delay:.5s;}
.logo svg path:nth-child(2){opacity:.5;animation-name:rotate-2;animation-delay:.6s;}
.logo svg path:nth-child(3){opacity:.8;animation-name:rotate-3;animation-delay:.7s;}
@keyframes rotate-1{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
@keyframes rotate-2{from{transform:rotate(0deg);}to{transform:rotate(-360deg);}}
@keyframes rotate-3{from,to{transform:rotate(0deg);}}

/* ===== Nested flyout sub-menus under Tech Tools ===== */
.header .header__right .main-nav .menu li .sub-menu{overflow:visible;}
.header .header__right .main-nav .menu .sub-menu li{position:relative;}
.header .header__right .main-nav .menu .sub-menu .sub-menu{top:-6px;left:100%;max-height:78vh;overflow-y:auto;transform:translateX(10px);}
.header .header__right .main-nav .menu li .sub-menu .sub-menu{opacity:0;visibility:hidden;}
.header .header__right .main-nav .menu li .sub-menu li:hover > .sub-menu{opacity:1;visibility:visible;transform:translateX(0);}
.header .header__right .main-nav .menu .sub-menu li.menu-item-has-children > a::after{content:"\25B8";display:inline-block!important;margin-left:8px;font-size:10px;}
