
:root{--bg:#f6f8fb;--card:#fff;--ink:#182230;--muted:#5b6b7f;--brand:#2563eb;--brand-dark:#1d4ed8;--border:#dde5ee;--good:#eef6ff;--radius:14px}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
a{color:var(--brand)}a:hover{text-decoration:underline}
.wrap{max-width:1080px;margin:0 auto;padding:0 18px}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;gap:20px;padding:12px 18px}
.logo{font-size:1.35rem;font-weight:800;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;gap:9px}.logo span{color:var(--brand)}
.logo img{width:34px;height:34px;display:block;border-radius:8px}
.footer-logo{width:28px;height:28px;vertical-align:-6px;margin-right:8px;border-radius:6px}
.card-img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:10px;margin-bottom:12px;background:#e8eef6}
.hero-img{width:100%;height:auto;aspect-ratio:40/21;object-fit:cover;display:block;border-radius:var(--radius);margin:14px 0 2px;background:#e8eef6}
.main-nav{display:flex;gap:16px;flex-wrap:wrap}.main-nav a{color:var(--ink);text-decoration:none;font-size:.95rem}.main-nav a:hover{color:var(--brand)}
.nav-toggle{display:none;margin-left:auto;font-size:1.3rem;background:none;border:1px solid var(--border);border-radius:8px;padding:4px 10px;cursor:pointer}
.hero{padding:34px 0 8px}.hero h1{font-size:2rem;margin:0 0 8px;line-height:1.25}.hero p{color:var(--muted);max-width:720px;margin:0}
.tool-card,.content{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin:20px 0;box-shadow:0 2px 10px rgba(20,40,80,.04)}
.content h2{margin-top:0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field label{font-weight:600;font-size:.92rem}
.field input,.field select,.field textarea{padding:11px 12px;border:1px solid var(--border);border-radius:9px;font-size:1rem;font-family:inherit;background:#fff;width:100%}
.field input[type=range]{padding:0}
.btn{background:var(--brand);color:#fff;border:none;padding:12px 22px;border-radius:9px;font-size:1rem;font-weight:700;cursor:pointer;margin-top:6px}
.btn:hover{background:var(--brand-dark)}.btn.secondary{background:#fff;color:var(--brand);border:1px solid var(--brand)}
.btn.small{padding:6px 10px;font-size:.85rem}.btn.danger{background:#fff;color:#b91c1c;border:1px solid #f0c4c4}
.btn:disabled{opacity:.45;cursor:not-allowed}.btn-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:8px}
.result{background:var(--good);border:1px solid #cfe3ff;border-radius:9px;padding:16px;margin-top:16px}
.notice{background:#fff8e6;border:1px solid #f2dfa7;border-radius:9px;padding:12px 14px;font-size:.92rem}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab{background:#eef2f7;border:1px solid var(--border);padding:9px 14px;border-radius:999px;cursor:pointer;font-size:.92rem;font-weight:600}
.tab.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.checks label{font-weight:400}
table{border-collapse:collapse;width:100%;font-size:.92rem}th,td{border:1px solid var(--border);padding:8px 10px;text-align:right}th{background:#f0f4f9}
.table-scroll{overflow-x:auto;margin-top:10px}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:14px}
.stat{background:#f0f4f9;border-radius:10px;padding:14px;text-align:center}.stat strong{display:block;font-size:1.35rem}.stat span{color:var(--muted);font-size:.85rem}
.qr-out{margin:16px 0}.qr-out canvas{max-width:100%;height:auto;border:1px solid var(--border)}
.img-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.img-compare img{max-width:100%;height:auto;border:1px solid var(--border);border-radius:8px;background:#fff}
.img-compare figcaption{font-weight:600;margin-bottom:6px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin:22px 0}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.card h2,.card h3{margin:0 0 8px;font-size:1.15rem}.card p{color:var(--muted);margin:0 0 12px}
.site-footer{background:#101c2c;color:#c9d6e4;margin-top:40px;padding:34px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:26px}.site-footer a{color:#c9d6e4;text-decoration:none}.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;padding:0;margin:8px 0}.site-footer li{margin:5px 0}.site-footer h4{color:#fff;margin:0 0 6px}
.footer-bottom{border-top:1px solid #24344a;margin-top:22px;padding-top:16px;font-size:.88rem;color:#8fa4bb}
@media(max-width:760px){.grid2,.grid3,.footer-grid,.img-compare,.checks{grid-template-columns:1fr}.nav-toggle{display:block}.main-nav{display:none;flex-direction:column;width:100%}.main-nav.open{display:flex}.header-inner{flex-wrap:wrap}.hero h1{font-size:1.6rem}}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
.badge{background:#eef6ff;border:1px solid #cfe3ff;color:#1d4ed8;font-weight:700;font-size:.9rem;border-radius:999px;padding:6px 14px}
.card-icon{width:58px;height:58px;border-radius:14px;background:#eaf1fe;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.card-icon img{width:32px;height:32px;display:block}
.cat-head{margin:30px 0 4px;font-size:1.45rem}
.cat-sub{color:var(--muted);margin:0 0 6px}
.step-num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;margin-bottom:10px}
.post-meta{color:var(--muted);font-size:.92rem;margin:0 0 4px}
.cta-box{background:#eef6ff;border:1px solid #cfe3ff;border-radius:var(--radius);padding:20px 24px;margin:20px 0}
.cta-box h2{margin-top:0}
.blog-thumb{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:10px;margin-bottom:12px;background:#e8eef6}
/* Rounded polish (CyberTools-style soft edges) */
:root{--radius:20px}
.card{border-radius:22px;box-shadow:0 4px 18px rgba(20,40,80,.06);transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(20,40,80,.11)}
.tool-card,.content{border-radius:20px}
.btn{border-radius:999px}
.field input,.field select,.field textarea{border-radius:12px}
.card-icon{border-radius:18px;background:linear-gradient(135deg,#eaf1fe,#d9e8fd)}
.card-img,.blog-thumb{border-radius:16px}
.hero-img{border-radius:20px}
.stat{border-radius:16px}
.result,.notice{border-radius:14px}
.cta-box{border-radius:20px}
.logo img{border-radius:10px}
.nav-toggle{border-radius:10px}
.badge{box-shadow:0 2px 8px rgba(37,99,235,.10)}

/* Purple redesign (CyberTools layout + purple palette) */
:root{--bg:#f7f5ff;--ink:#211d38;--muted:#6b6584;--brand:#6d28d9;--brand-dark:#5b21b6;--border:#e3def5;--good:#f1edfd}
.badge{background:#ede9fe;border-color:#d9cefc;color:#5b21b6;box-shadow:0 2px 8px rgba(109,40,217,.12)}
.card-icon{background:linear-gradient(135deg,#f0ebfd,#ddd0fa)}
.result{border-color:#d9cefc}
.cta-box{background:#f1edfd;border-color:#d9cefc}
.site-footer{background:#17102e;color:#cdc6ea}
.site-footer a{color:#cdc6ea}
.footer-bottom{border-top-color:#2c2352;color:#9a92c4}
th{background:#efeafd}
.tab{background:#efeafd}
.card-img,.blog-thumb,.hero-img{background:#e7e2f7}
.card{box-shadow:0 4px 18px rgba(70,50,140,.07)}
.card:hover{box-shadow:0 12px 28px rgba(70,50,140,.13)}
.hero-panel{background:linear-gradient(180deg,#ece5fd 0%,#f7f5ff 92%);border:1px solid var(--border);border-radius:26px;padding:38px 30px 28px;margin:20px 0 8px;text-align:center}
.hero-panel .eyebrow{color:var(--brand-dark);font-weight:700;font-size:.95rem;margin:0 0 10px}
.hero-panel h1{font-size:2.55rem;line-height:1.15;margin:0 0 12px}
.hero-panel h1 .num{color:var(--brand)}
.hero-panel .sub{color:var(--muted);max-width:720px;margin:0 auto}
.hero-panel .badges{justify-content:center}
.tool-search{position:relative;max-width:640px;margin:20px auto 4px;text-align:left}
.tool-search input{width:100%;padding:15px 60px 15px 20px;border:1px solid var(--border);border-radius:999px;font-size:1.02rem;font-family:inherit;background:#fff;box-shadow:0 8px 22px rgba(70,50,140,.10)}
.tool-search button{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:var(--brand);color:#fff;border:none;width:46px;height:46px;border-radius:50%;cursor:pointer;font-size:1.1rem;line-height:1}
.tool-search button:hover{background:var(--brand-dark)}
.search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 18px 40px rgba(60,40,130,.18);overflow:hidden;z-index:40}
.search-results a{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;color:var(--ink);text-decoration:none;font-weight:600}
.search-results a:hover{background:#f3f0ff;text-decoration:none}
.search-results a span{color:var(--muted);font-weight:400;font-size:.88rem}
.search-results .no-match{padding:12px 16px;color:var(--muted)}
.cat-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:22px 0}
.cat-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;text-decoration:none;color:var(--ink);display:block;box-shadow:0 4px 18px rgba(70,50,140,.07);transition:transform .15s ease,box-shadow .15s ease}
.cat-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(70,50,140,.13);text-decoration:none}
.cat-card h3{margin:10px 0 6px;font-size:1.12rem}
.cat-card p{color:var(--muted);margin:0 0 14px;font-size:.95rem}
.cat-count{display:inline-block;background:#ede9fe;color:#5b21b6;font-weight:700;font-size:.82rem;border-radius:999px;padding:3px 11px}
.cat-arrow{float:right;color:var(--brand);font-weight:800;font-size:1.1rem}
.stat{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 4px 14px rgba(70,50,140,.06)}
.dark-panel{background:linear-gradient(155deg,#3b1d8f,#17102e);border-radius:26px;padding:38px 32px;margin:28px 0;color:#e9e4ff}
.dark-panel h2{color:#fff;margin-top:0;font-size:1.6rem}
.dark-panel h3{color:#fff}
.dark-panel p{color:#cfc6f2}
.dark-panel a{color:#c4b0fa}
.feature-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:22px}
.feature-tile{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:18px}
.feature-tile strong{color:#fff;display:block;font-size:1.05rem;margin-bottom:4px}
.feature-tile span{color:#cfc6f2;font-size:.92rem}
#cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;max-width:660px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 16px 40px rgba(40,25,100,.25);padding:14px 18px;display:none;z-index:80;align-items:center;gap:14px;font-size:.95rem}
#cookie-bar.show{display:flex}
#cookie-bar p{margin:0}
#cookie-bar button{background:var(--brand);color:#fff;border:none;border-radius:999px;padding:9px 24px;font-weight:700;cursor:pointer;margin-left:auto;font-size:.95rem}
#cookie-bar button:hover{background:var(--brand-dark)}
@media(max-width:760px){.hero-panel h1{font-size:1.85rem}.hero-panel{padding:28px 18px 22px}.dark-panel{padding:28px 20px}}

