/* Hub page */
.wt-hub-hero,
.wt-cat-hero{position:relative;overflow:hidden;padding:38px;border-radius:34px;background:linear-gradient(140deg,#ffffff 0%,#f5fbf8 45%,#eef8f5 100%);border:1px solid #deebe7;box-shadow:var(--wt-shadow)}
.wt-hub-hero{padding:42px}
.wt-hub-hero__main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:22px;align-items:start}
.wt-hub-glow{position:absolute;border-radius:999px;pointer-events:none;filter:blur(4px)}
.wt-hub-glow--a{width:320px;height:320px;inset:auto auto -110px -80px;background:radial-gradient(circle,rgba(14,142,124,.22),rgba(14,142,124,0) 68%)}
.wt-hub-glow--b{width:380px;height:380px;inset:-180px -140px auto auto;background:radial-gradient(circle,rgba(99,91,255,.12),rgba(99,91,255,0) 72%)}
.wt-hub-hero h1,.wt-cat-hero h1{margin:14px 0 14px;font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.02;letter-spacing:-.05em;color:var(--wt-ink)}
.wt-hub-hero p,.wt-cat-hero p{margin:0;max-width:820px;font-size:15px;line-height:2;color:var(--wt-text)}
.wt-hub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;max-width:640px}
.wt-hub-stat{padding:16px 14px;border-radius:20px;background:rgba(255,255,255,.76);border:1px solid #dfece8;backdrop-filter:blur(10px)}
.wt-hub-stat strong{display:block;font-size:26px;line-height:1;color:var(--wt-ink)}
.wt-hub-stat span{display:block;margin-top:7px;font-size:12px;font-weight:700;color:#536a64}
.wt-hub-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;max-width:780px}
.wt-hub-quick-link{display:grid;gap:4px;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid #dfebe8;box-shadow:0 12px 30px rgba(14,54,46,.05);color:inherit;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.wt-hub-quick-link:hover{transform:translateY(-2px);border-color:var(--wt-brand);box-shadow:0 16px 34px rgba(14,54,46,.08)}
.wt-hub-quick-link strong{font-size:14px;line-height:1.7;color:var(--wt-ink)}
.wt-hub-quick-link span{font-size:12px;line-height:1.8;color:var(--wt-muted)}

.wt-hub-command{padding:20px;border-radius:26px;background:rgba(16,35,31,.94);color:#fff;box-shadow:0 28px 80px rgba(16,35,31,.18)}
.wt-hub-command__head{display:grid;gap:4px;margin-bottom:14px}
.wt-hub-command__head strong{font-size:18px;line-height:1.5}
.wt-hub-command__head span{font-size:12px;color:#b8d0ca;line-height:1.8}
.wt-hub-command kbd{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);font-size:11px;font-weight:800;color:#fff}
.wt-hub-search{display:grid;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:10px 12px;border-radius:18px;background:#0d1d1a;border:1px solid rgba(255,255,255,.1)}
.wt-hub-search span{font-size:18px;color:#9ad3c8}
.wt-hub-search input{width:100%;border:0;outline:none;background:transparent;color:#fff;font:inherit;font-size:14px}
.wt-hub-search input::placeholder{color:#8eb1aa}
.wt-hub-search__clear{width:34px;height:34px;border-radius:12px;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.wt-hub-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.wt-hub-pill,.wt-explorer-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid #dfece8;background:#fff;color:#435954;font-size:12px;font-weight:800;cursor:pointer;transition:.2s ease}
.wt-hub-command .wt-hub-pill{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#e7f5f1}
.wt-hub-pill.is-active,.wt-explorer-tab.is-active{background:linear-gradient(135deg,var(--wt-brand),var(--wt-brand-2));border-color:transparent;color:#fff;box-shadow:0 12px 24px rgba(14,142,124,.22)}
.wt-hub-command__foot{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.wt-hub-command__foot .wt-btn-ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.13);color:#fff}
.wt-hub-command__foot .wt-btn-ghost:hover{box-shadow:none}

.wt-hub-smart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.wt-smart-panel{padding:24px;border-radius:26px;background:#fff;border:1px solid var(--wt-line);box-shadow:0 16px 48px rgba(14,54,46,.05)}
.wt-smart-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.wt-smart-panel__head span{display:block;font-size:11px;font-weight:900;color:var(--wt-brand);letter-spacing:.03em}
.wt-smart-panel__head h2{margin:5px 0 0;font-size:22px;line-height:1.4;color:var(--wt-ink)}
.wt-smart-panel__body{display:grid;gap:10px}
.wt-smart-link{display:grid;gap:4px;padding:14px 16px;border-radius:18px;background:var(--wt-soft);border:1px solid #dfece8;color:inherit;transition:transform .18s ease,border-color .18s ease}
.wt-smart-link:hover{transform:translateY(-1px);border-color:var(--wt-brand)}
.wt-smart-link strong{font-size:14px;line-height:1.7;color:var(--wt-ink)}
.wt-smart-link span{font-size:12px;line-height:1.8;color:var(--wt-muted)}
.wt-smart-empty{display:grid;gap:6px;padding:20px;border-radius:18px;background:#f7fbfa;border:1px dashed #d7e8e3}
.wt-smart-empty strong{font-size:14px;color:var(--wt-ink)}
.wt-smart-empty span{font-size:12px;line-height:1.9;color:var(--wt-muted)}
.wt-inline-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 12px;border:1px solid var(--wt-line);border-radius:999px;background:#fff;color:#435954;font-size:12px;font-weight:800;cursor:pointer;transition:.18s ease}
.wt-inline-action:hover{border-color:var(--wt-brand);color:var(--wt-brand)}

.wt-hub-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:26px 2px 14px}
.wt-hub-section-head--stacked{align-items:flex-start}
.wt-hub-section-head span{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:#eff8f5;border:1px solid #dfece8;color:var(--wt-brand);font-size:11px;font-weight:900;letter-spacing:.03em}
.wt-hub-section-head h2{margin:10px 0 0;font-size:29px;line-height:1.25;color:var(--wt-ink)}
.wt-hub-section-head p{margin:0;max-width:560px;font-size:13px;line-height:1.95;color:var(--wt-muted)}
.wt-hub-section-head__meta{display:grid;gap:8px;justify-items:start}
.wt-hub-results{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid var(--wt-line);font-size:12px;font-weight:800;color:#47605a}

.wt-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wt-workflow-card{padding:24px;border-radius:26px;background:linear-gradient(160deg,#fff,#f6fbf9);border:1px solid #dce9e5;box-shadow:0 14px 42px rgba(14,54,46,.05)}
.wt-workflow-card h3{margin:0 0 10px;font-size:20px;line-height:1.5;color:var(--wt-ink)}
.wt-workflow-card p{margin:0;font-size:13px;line-height:1.95;color:var(--wt-muted)}
.wt-workflow-card ol{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:wf}
.wt-workflow-card li{counter-increment:wf;display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start}
.wt-workflow-card li:before{content:counter(wf);display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--wt-brand);color:#fff;font-size:12px;font-weight:900}
.wt-workflow-card a{display:block;padding-top:3px;color:inherit;font-size:14px;font-weight:800;line-height:1.7}
.wt-workflow-card a:hover{color:var(--wt-brand)}

.wt-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.wt-category{position:relative;overflow:hidden;min-height:280px;padding:28px;border-radius:28px;border:1px solid var(--wt-line);background:#fff;box-shadow:0 16px 48px rgba(14,54,46,.07);transition:.25s ease}
.wt-category:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(14,54,46,.11)}
.wt-category:before{content:"";position:absolute;inset:0 auto auto 0;width:180px;height:180px;border-radius:50%;filter:blur(2px);opacity:.34;transform:translate(-30%,-35%)}
.wt-category-seo:before{background:#9fc1ff}.wt-category-css:before{background:#dfb4ff}.wt-category-text:before{background:#ffd59b}.wt-category-dev:before{background:#9ea7ff}
.wt-cat-icon{position:relative;z-index:1;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:22px;font-weight:900;background:#f1f8f6;color:var(--wt-brand);border:1px solid #dfece8}
.wt-cat-tag{display:inline-flex;margin-top:16px;padding:7px 11px;border-radius:999px;background:#f6faf8;border:1px solid #e2ede9;font-size:11px;font-weight:900;color:#607670}
.wt-category h2,.wt-tool-card h2{margin:12px 0 8px;font-size:24px;color:var(--wt-ink)}
.wt-category p,.wt-tool-card p{margin:0;font-size:13px;line-height:1.95;color:var(--wt-muted)}
.wt-tool-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 22px}
.wt-tool-chips a,.wt-tool-chips span{padding:8px 11px;border-radius:11px;background:#f7faf9;border:1px solid #e4efeb;font-size:11px;color:#506862;font-weight:700}
.wt-card-link{display:inline-flex;align-items:center;gap:9px;color:var(--wt-brand);font-weight:900;font-size:13px}
.wt-card-link b{transition:.2s}.wt-card-link:hover b{transform:translateX(-4px)}

.wt-hub-explorer{margin-top:18px;padding:28px;border-radius:32px;background:linear-gradient(180deg,#ffffff,#f8fcfb);border:1px solid #dce9e5;box-shadow:0 20px 60px rgba(14,54,46,.06)}
.wt-explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.wt-explorer-tabs{display:flex;flex-wrap:wrap;gap:10px}
.wt-tool-explorer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wt-tool-spotlight{position:relative;display:grid;gap:14px;padding:22px;border-radius:26px;background:#fff;border:1px solid #ddeae6;box-shadow:0 14px 36px rgba(14,54,46,.05);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.wt-tool-spotlight:hover{transform:translateY(-4px);border-color:var(--wt-brand);box-shadow:0 24px 50px rgba(14,54,46,.08)}
.wt-tool-spotlight.is-favorite{border-color:#f3be45;box-shadow:0 18px 46px rgba(243,190,69,.12)}
.wt-tool-favorite{position:absolute;top:16px;left:16px;width:40px;height:40px;border-radius:13px;border:1px solid #e3ece9;background:#fff;color:#9ab0aa;font-size:20px;cursor:pointer;transition:.18s ease}
.wt-tool-favorite:hover,.wt-tool-spotlight.is-favorite .wt-tool-favorite{color:#f0a500;border-color:#f5d37d;background:#fffaf0}
.wt-tool-spotlight__icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:#eff8f5;color:var(--wt-brand);border:1px solid #dfece8;font-size:20px;font-weight:900}
.wt-tool-spotlight__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wt-tool-spotlight__category,.wt-tool-spotlight__badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900}
.wt-tool-spotlight__category{background:#f7faf9;border:1px solid #e0ece8;color:#5b726b}
.wt-tool-spotlight__badge{background:#eef8f5;color:var(--wt-brand);border:1px solid #d9ebe6}
.wt-tool-spotlight h3{margin:0;font-size:20px;line-height:1.55;color:var(--wt-ink);padding-left:26px}
.wt-tool-spotlight p{margin:0;font-size:13px;line-height:1.95;color:var(--wt-muted)}
.wt-tool-spotlight__tags{display:flex;flex-wrap:wrap;gap:8px}
.wt-tool-spotlight__tags span{padding:7px 10px;border-radius:11px;background:#f7fbfa;border:1px solid #e3eeeb;font-size:10px;font-weight:800;color:#5d726c}
.wt-tool-spotlight__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
.wt-btn-small{padding:11px 14px;border-radius:14px;font-size:12px}
.wt-hub-no-results{margin-top:16px;padding:22px;border-radius:22px;background:#fff8f1;border:1px dashed #f0cb8d;display:grid;gap:6px}
.wt-hub-no-results strong{font-size:15px;color:#7d5712}.wt-hub-no-results span{font-size:12px;line-height:1.9;color:#9d7a3b}

.wt-hub-note{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-top:22px;padding:30px;border-radius:28px;background:linear-gradient(135deg,#11302b,#173f38);color:#fff;box-shadow:var(--wt-shadow)}
.wt-hub-note .wt-kicker{color:#83d9c9}.wt-hub-note h2{margin:8px 0 6px;font-size:28px;line-height:1.35}.wt-hub-note p{margin:0;max-width:760px;font-size:13px;line-height:1.95;color:#bfd0cb}

/* Category pages */
.wt-back{display:inline-flex;margin-bottom:20px;color:#56716a;font-size:12px;font-weight:800}
.wt-cat-hero-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#eef8f5;border:1px solid #dcebe7;color:var(--wt-brand);font-size:22px;font-weight:900;margin:18px 0 4px}
.wt-tools-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.wt-tool-card{padding:22px;border-radius:24px;background:#fff;border:1px solid var(--wt-line);box-shadow:0 14px 38px rgba(14,54,46,.06)}
.wt-tool-status{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;background:#eaf8f4;color:var(--wt-brand)}
.wt-tool-card.is-soon .wt-tool-status{background:#f7f2e8;color:#9d6f10}.wt-card-disabled{display:inline-block;margin-top:16px;font-size:11px;color:#9aaaa5}

@media(max-width:1080px){
  .wt-hub-hero__main{grid-template-columns:1fr}
  .wt-workflow-grid,.wt-tool-explorer-grid,.wt-tools-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .wt-hub-grid,.wt-tools-list,.wt-hub-smart{grid-template-columns:1fr}
  .wt-hub-note,.wt-hub-section-head,.wt-explorer-toolbar{flex-direction:column;align-items:flex-start}
  .wt-hub-quick-links,.wt-workflow-grid{grid-template-columns:1fr}
  .wt-hub-section-head{gap:10px}
}
@media(max-width:720px){
  .wt-hub-hero,.wt-cat-hero,.wt-hub-explorer{padding:24px 18px;border-radius:26px}
  .wt-hub-stats{grid-template-columns:1fr 1fr}
  .wt-tool-explorer-grid,.wt-hub-grid,.wt-tools-list{grid-template-columns:1fr}
  .wt-smart-panel,.wt-workflow-card,.wt-category,.wt-tool-spotlight{padding:20px}
  .wt-tool-spotlight h3{padding-left:0}
  .wt-tool-favorite{top:12px;left:12px}
  .wt-hub-note{padding:24px}
}
@media(max-width:560px){
  .wt-hub-stats,.wt-hub-quick-links{grid-template-columns:1fr}
  .wt-tool-spotlight__actions,.wt-hub-command__foot{flex-direction:column;align-items:stretch}
  .wt-tool-spotlight__actions .wt-inline-action,.wt-tool-spotlight__actions .wt-btn{width:100%}
  .wt-hub-command{padding:18px}
}
