/* FreeTools Hub family theme - LogoFree */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1d4ed8; --purple: #7c3aed; --ink: #1e293b; --muted: #64748b;
  --line: #e2e8f0; --bg: #f8fafc; --card: #ffffff; --ok: #16a34a;
  --warn: #d97706; --bad: #dc2626;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .err { color: var(--bad); margin-top: 8px; }

#siteHeader { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; padding: 26px 0 0; }
.header-inner { display: flex; align-items: center; }
.brand { display: flex; gap: 14px; align-items: center; }
.hub-link { color: #fff; text-decoration: none; font-size: .85rem; opacity: .85; display: block; margin-bottom: 2px; }
.hub-link:hover { opacity: 1; text-decoration: underline; }
.brand-name { font-size: 1.7rem; line-height: 1.1; }
.brand-tag { opacity: .9; font-size: .9rem; }
.free-banner { text-align: center; font-size: .82rem; padding: 10px 16px 14px; opacity: .95; }

#main { padding: 30px 0 10px; }
.intro h2 { font-size: 1.5rem; margin-bottom: 6px; }
.intro { margin-bottom: 20px; }

.builder-grid { display: grid; grid-template-columns: 1fr 400px; gap: 26px; align-items: start; }
@media (max-width: 920px) { .builder-grid { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.card-title { font-size: 1.05rem; margin-bottom: 12px; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
input[type="text"], select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-size: .95rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 400; }
input:focus, select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
input[type="range"] { width: 100%; margin-top: 6px; accent-color: var(--blue); }
input[type="color"] { width: 100%; height: 40px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

.cat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cat-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .85rem; cursor: pointer; color: var(--ink); }
.cat-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.icon-btn { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 8px; cursor: pointer; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 34px; height: 34px; color: var(--ink); }
.icon-btn:hover { border-color: var(--blue); }
.icon-btn.active { border-color: var(--purple); background: #f5f3ff; box-shadow: 0 0 0 2px rgba(124,58,237,.25); }

.preview-col .preview-card { position: sticky; top: 18px; }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 6px 28px rgba(15,23,42,.08); }
.logo-stage { display: flex; justify-content: center; align-items: center; min-height: 340px; margin-bottom: 16px; border-radius: 12px; background:
  repeating-conic-gradient(#eef2f7 0% 25%, #ffffff 0% 50%) 0 0 / 24px 24px; }
.logo-stage svg { max-width: 100%; max-height: 360px; }
.dl-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.btn { border: none; border-radius: 10px; padding: 11px 22px; font-size: .95rem; font-weight: 700; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: #eef2ff; color: var(--blue); }
.btn-ghost:hover { background: #e0e7ff; }

.honesty { margin: 34px 0 8px; }
.honesty h2 { margin-bottom: 10px; font-size: 1.25rem; }
.honesty p { color: #475569; }
.faq-sec { margin: 34px 0 40px; }
.faq-sec h2 { margin-bottom: 14px; font-size: 1.3rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--blue); font-weight: 700; }
.faq[open] summary::before { content: "− "; }
.faq p { padding: 0 18px 16px; color: #475569; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0 34px; margin-top: 10px; }
.site-footer a { color: var(--blue); }
