.tool-hero { background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%); padding:5rem 1.5rem 3rem; margin-top:68px; text-align:center; position:relative; overflow:hidden; }
.tool-hero::before { content:''; position:absolute; width:400px; height:400px; border-radius:50%; background:rgba(255,255,255,.06); top:-150px; right:-100px; }
.tool-hero::after { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.04); bottom:-100px; left:-50px; }
.tool-hero-content { position:relative; z-index:1; }
.tool-hero-icon { width:72px; height:72px; border-radius:20px; background:rgba(255,255,255,.15); backdrop-filter:blur(10px); display:flex; align-items:center; justify-content:center; font-size:2rem; margin:0 auto 1.25rem; border:1px solid rgba(255,255,255,.2); }
.tool-hero h1 { font-size:clamp(1.75rem,4vw,2.75rem); font-weight:800; color:white; letter-spacing:-1px; margin-bottom:.75rem; }
.tool-hero p { font-size:1rem; color:rgba(255,255,255,.78); max-width:480px; margin:0 auto; }
.tool-main { max-width:1000px; margin:0 auto; padding:2.5rem 1.5rem 5rem; }

.wc-layout { display:grid; grid-template-columns:1fr 300px; gap:1.5rem; align-items:start; }

.text-panel { background:white; border-radius:var(--radius-lg); border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; }
.text-panel-header { padding:1rem 1.25rem; border-bottom:1px solid var(--border-light); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; }
.text-panel-title { font-size:.9rem; font-weight:700; color:var(--text); }
.text-panel-actions { display:flex; gap:.4rem; }
.btn-text-action { padding:.375rem .875rem; border:1.5px solid var(--border); border-radius:100px; font-size:.72rem; font-weight:700; font-family:'Inter',sans-serif; color:var(--text-muted); background:transparent; cursor:pointer; transition:var(--transition); }
.btn-text-action:hover { border-color:#2563eb; color:#2563eb; }
.btn-text-action.copy-btn { background:linear-gradient(135deg,#2563eb,#1d4ed8); color:white; border-color:transparent; }
.btn-text-action.copy-btn:hover { transform:translateY(-1px); color:white; border-color:transparent; }
.text-area { width:100%; min-height:360px; padding:1.25rem; border:none; outline:none; resize:none; font-size:.9rem; font-family:'Inter',sans-serif; color:var(--text); line-height:1.7; background:var(--bg); }
.text-panel-footer { padding:.75rem 1.25rem; border-top:1px solid var(--border-light); display:flex; align-items:center; gap:1rem; }
.char-limit-wrap { display:flex; align-items:center; gap:.5rem; font-size:.75rem; color:var(--text-muted); }
.char-limit-input { width:70px; padding:.3rem .5rem; border:1.5px solid var(--border); border-radius:6px; font-size:.75rem; font-family:'Inter',sans-serif; color:var(--text); outline:none; background:var(--bg); }

.stats-panel { display:flex; flex-direction:column; gap:1rem; }
.stats-card { background:white; border-radius:var(--radius-lg); border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; }
.stats-card-header { padding:1rem 1.25rem; border-bottom:1px solid var(--border-light); display:flex; align-items:center; gap:.625rem; }
.stats-card-icon { width:32px; height:32px; border-radius:8px; background:rgba(37,99,235,.1); display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.stats-card-title { font-size:.85rem; font-weight:700; color:var(--text); }
.stats-grid { display:grid; grid-template-columns:1fr 1fr; }
.stat-item { padding:1rem; text-align:center; border-right:1px solid var(--border-light); border-bottom:1px solid var(--border-light); }
.stat-item:nth-child(even) { border-right:none; }
.stat-item:nth-last-child(-n+2) { border-bottom:none; }
.stat-value { font-size:1.35rem; font-weight:900; color:var(--text); letter-spacing:-.5px; display:block; }
.stat-label { font-size:.65rem; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.4px; display:block; margin-top:2px; }

.reading-card { background:white; border-radius:var(--radius-lg); border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; }
.reading-header { padding:1rem 1.25rem; border-bottom:1px solid var(--border-light); display:flex; align-items:center; gap:.625rem; }
.reading-icon { width:32px; height:32px; border-radius:8px; background:rgba(37,99,235,.1); display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.reading-title { font-size:.85rem; font-weight:700; color:var(--text); }
.reading-items { padding:.875rem 1.25rem; display:flex; flex-direction:column; gap:.5rem; }
.reading-row { display:flex; justify-content:space-between; align-items:center; padding:.4rem 0; border-bottom:1px solid var(--border-light); }
.reading-row:last-child { border-bottom:none; }
.reading-row-label { font-size:.8rem; color:var(--text-muted); }
.reading-row-value { font-size:.82rem; font-weight:700; color:var(--text); }

.keyword-card { background:white; border-radius:var(--radius-lg); border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; }
.keyword-header { padding:1rem 1.25rem; border-bottom:1px solid var(--border-light); display:flex; align-items:center; gap:.625rem; }
.keyword-icon { width:32px; height:32px; border-radius:8px; background:rgba(37,99,235,.1); display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.keyword-title { font-size:.85rem; font-weight:700; color:var(--text); }
.keyword-list { padding:.875rem 1.25rem; display:flex; flex-direction:column; gap:.35rem; max-height:200px; overflow-y:auto; }
.keyword-item { display:flex; align-items:center; justify-content:space-between; }
.keyword-word { font-size:.8rem; font-weight:600; color:var(--text); }
.keyword-bar-wrap { flex:1; margin:0 .625rem; height:4px; background:var(--border); border-radius:100px; overflow:hidden; }
.keyword-bar-fill { height:100%; background:linear-gradient(90deg,#2563eb,#1d4ed8); border-radius:100px; }
.keyword-count { font-size:.72rem; font-weight:700; color:var(--text-muted); min-width:20px; text-align:right; }
.keyword-empty { padding:1rem 1.25rem; font-size:.8rem; color:var(--text-light); text-align:center; }

@media(max-width:700px) { .wc-layout{grid-template-columns:1fr;} }
