:root {
    --bg: #f1f5f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #f59e0b;
    --hero-from: #0f172a;
    --hero-mid: #134e4a;
    --hero-to: #0d9488;
    --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
    --shadow-lg: 0 8px 30px rgba(15,23,42,0.12);
    --radius: 14px;
}
* { box-sizing: border-box; }
body {
    background: var(--bg);
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    margin: 0;
}
.hero {
    background: linear-gradient(145deg, var(--hero-from) 0%, var(--hero-mid) 55%, var(--hero-to) 100%);
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.hero-desc {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    margin: 0 0 28px;
}
.hero-stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 12px 22px;
    text-align: center;
    min-width: 140px;
}
.hero-stat .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}
.hero-stat .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: "Consolas", "Monaco", monospace;
}
.main-wrap {
    max-width: 1140px;
    margin: -28px auto 0;
    padding: 0 15px 40px;
    position: relative;
    z-index: 2;
}
.tool-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    overflow: visible;
}
.tool-card-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tool-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.tool-card-icon.orange { background: #fef3c7; color: #d97706; }
.tool-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.tool-card-body { padding: 20px; }
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.form-control {
    border-radius: 8px;
    border-color: var(--border);
    box-shadow: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-size: 14px;
    line-height: 1.6;
}
.btn-action {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    margin-top: 16px;
}
.btn-action:hover, .btn-action:focus {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-action:disabled { opacity: 0.6; transform: none; }
.result-panel {
    margin-top: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.seo-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    line-height: 1.85;
    box-shadow: var(--shadow);
}
.seo-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}
.seo-block h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 18px 0 8px;
}
.seo-block p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.seo-block code {
    background: var(--surface-2);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--primary-dark);
}
.site-footer {
    text-align: center;
    padding: 24px 20px 32px;
    color: var(--text-muted);
    font-size: 13px;
}
.site-footer a { color: var(--primary); }
@media (max-width: 767px) {
    .hero h1 { font-size: 22px; }
}