/*
Theme Name: ToolHub GeneratePress Child
Theme URI: https://generatepress.com/
Description: Professional dark online-tools website template for GeneratePress.
Author: ToolHub
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: toolhub-gp
*/

:root{
  --th-bg:#050816;
  --th-panel:#0b1224;
  --th-panel2:#0f1930;
  --th-border:rgba(148,163,184,.18);
  --th-text:#f8fafc;
  --th-muted:#9aa7bd;
  --th-blue:#38bdf8;
  --th-purple:#8b5cf6;
  --th-max:1240px;
}
html{scroll-behavior:smooth}
body{background:var(--th-bg);color:var(--th-text)}
a{color:inherit}
.site-header,.site-footer,.site-content{background:transparent}
.th-shell{width:min(var(--th-max),calc(100% - 36px));margin:auto}
.th-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--th-border)}
.th-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.th-logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#38bdf8,#7c3aed);font-size:23px;box-shadow:0 8px 30px rgba(56,189,248,.22)}
.th-brand strong{font-size:22px;line-height:1}
.th-brand small{display:block;color:var(--th-muted);margin-top:4px;font-size:11px}
.th-menu{display:flex;align-items:center;gap:24px;font-size:14px}
.th-menu a{text-decoration:none;color:#dbe4f0}
.th-menu a:hover{color:#fff}
.th-search-mini{background:#0b1224;border:1px solid var(--th-border);border-radius:12px;padding:10px 14px;color:#9aa7bd}
.th-hero{text-align:center;padding:78px 0 55px;position:relative;overflow:hidden}
.th-hero:before,.th-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;filter:blur(80px);opacity:.2;z-index:-1}
.th-hero:before{background:#2563eb;left:0;top:40px}.th-hero:after{background:#9333ea;right:0;top:20px}
.th-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.th-badge{border:1px solid rgba(139,92,246,.35);background:rgba(15,23,42,.7);padding:7px 12px;border-radius:999px;font-size:12px;color:#dbeafe}
.th-hero h1{font-size:clamp(42px,6vw,76px);line-height:1.02;margin:0;font-weight:800;letter-spacing:-2px}
.th-gradient{background:linear-gradient(90deg,#38bdf8,#818cf8,#c084fc);-webkit-background-clip:text;background-clip:text;color:transparent}
.th-hero p{max-width:720px;margin:20px auto 26px;color:var(--th-muted);font-size:17px}
.th-search{max-width:760px;margin:0 auto;display:flex;padding:7px;background:#080f20;border:1px solid rgba(96,165,250,.28);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.th-search input{flex:1;border:0;background:transparent;color:#fff;padding:15px;font-size:15px;outline:0}
.th-search button{border:0;border-radius:11px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;padding:0 22px;font-weight:700;cursor:pointer}
.th-popular{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:16px;color:#64748b;font-size:12px}
.th-chip{padding:7px 10px;border:1px solid var(--th-border);border-radius:999px;color:#cbd5e1;background:#0b1224}
.th-section{padding:35px 0}
.th-heading{text-align:center;margin-bottom:25px}
.th-heading h2{font-size:34px;margin:0 0 7px}
.th-heading p{color:var(--th-muted);margin:0}
.th-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.th-cat{padding:20px;border:1px solid var(--th-border);border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(7,12,26,.96));text-decoration:none;transition:.2s;min-height:160px}
.th-cat:hover{transform:translateY(-4px);border-color:rgba(99,102,241,.6);box-shadow:0 18px 40px rgba(0,0,0,.22)}
.th-cat-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:25px;background:rgba(59,130,246,.14);margin-bottom:14px}
.th-cat h3{font-size:17px;margin:0 0 6px}.th-cat p{font-size:12px;color:var(--th-muted);margin:0 0 15px;min-height:30px}.th-cat span{font-size:12px;color:#7dd3fc;font-weight:700}
.th-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.th-tool{position:relative;padding:20px;border:1px solid var(--th-border);border-radius:18px;background:linear-gradient(145deg,#0c1529,#08101f);overflow:hidden;transition:.2s}
.th-tool:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(0,0,0,.28);border-color:rgba(139,92,246,.45)}
.th-tool:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:2px;background:var(--th-accent,#6d5dfc)}
.th-tool-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;font-size:26px;background:color-mix(in srgb,var(--th-accent,#6d5dfc) 18%,transparent);margin-bottom:15px}
.th-tool h3{font-size:18px;margin:0 0 8px}.th-tool p{color:var(--th-muted);font-size:13px;line-height:1.6;min-height:42px;margin:0 0 16px}
.th-tool-btn{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--th-accent,#6d5dfc),#2563eb);padding:9px 13px;border-radius:10px}
.th-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--th-border);border-radius:20px;background:#0a1224;padding:22px;margin-top:25px}
.th-stat{text-align:center;padding:8px;border-right:1px solid var(--th-border)}.th-stat:last-child{border:0}.th-stat strong{display:block;font-size:25px}.th-stat span{font-size:12px;color:var(--th-muted)}
.th-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border:1px solid rgba(139,92,246,.3);border-radius:20px;background:linear-gradient(90deg,rgba(37,99,235,.13),rgba(124,58,237,.15));margin:30px 0}
.th-cta h3{margin:0 0 5px}.th-cta p{margin:0;color:var(--th-muted);font-size:13px}.th-main-btn{display:inline-flex;text-decoration:none;background:linear-gradient(135deg,#2563eb,#7c3aed);padding:12px 18px;border-radius:11px;font-weight:700;white-space:nowrap}
.th-footer{border-top:1px solid var(--th-border);padding:32px 0;color:var(--th-muted);font-size:13px}
.th-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.th-footer h4{color:#fff;margin:0 0 12px}.th-footer a{text-decoration:none;color:var(--th-muted);display:block;margin:7px 0}.th-copy{border-top:1px solid var(--th-border);margin-top:25px;padding-top:18px;display:flex;justify-content:space-between;gap:15px}
.th-single{max-width:900px;margin:60px auto}.th-single-card{padding:35px;border:1px solid var(--th-border);border-radius:22px;background:#0b1224}.th-single h1{font-size:46px}.th-single .entry-content{color:#cbd5e1;line-height:1.8}
@media(max-width:1050px){.th-categories{grid-template-columns:repeat(3,1fr)}.th-tools{grid-template-columns:repeat(3,1fr)}.th-menu{display:none}.th-footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:760px){.th-shell{width:min(var(--th-max),calc(100% - 24px))}.th-hero{padding:55px 0 35px}.th-hero h1{letter-spacing:-1px}.th-hero p{font-size:15px}.th-search button{padding:0 15px}.th-categories,.th-tools{grid-template-columns:1fr 1fr}.th-stats{grid-template-columns:1fr 1fr}.th-stat:nth-child(2){border-right:0}.th-stat:nth-child(-n+2){border-bottom:1px solid var(--th-border)}.th-cta{flex-direction:column;align-items:flex-start}.th-footer-grid{grid-template-columns:1fr 1fr}.th-copy{flex-direction:column}}
@media(max-width:480px){.th-categories,.th-tools{grid-template-columns:1fr}.th-stats{grid-template-columns:1fr}.th-stat{border-right:0!important;border-bottom:1px solid var(--th-border)!important}.th-stat:last-child{border-bottom:0!important}.th-footer-grid{grid-template-columns:1fr}.th-brand strong{font-size:19px}}
