/*
Theme Name: NavPro AI导航
Theme URI: https://ai.zvh.cn
Author: NavPro
Description: 专业AI工具导航主题
Version: 1.0
License: GPLv2 or later
Text Domain: navpro
*/
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#f5f7fa;color:#333;line-height:1.6}
a{color:#667eea;text-decoration:none;transition:color .3s}
a:hover{color:#764ba2}
.site-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.1);position:sticky;top:0;z-index:100}
.header-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;height:60px;gap:30px}
.site-title{font-size:20px;font-weight:700;color:#fff;white-space:nowrap}
.site-title a{color:#fff}
.main-nav{flex:1;display:flex;gap:20px;overflow-x:auto}
.main-nav a{color:rgba(255,255,255,.9);font-size:14px;white-space:nowrap;padding:5px 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:#fff;border-bottom-color:#fff}
.header-actions{display:flex;gap:10px;align-items:center}
.btn-submit{background:rgba(255,255,255,.2);color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;border:1px solid rgba(255,255,255,.3)}
.btn-submit:hover{background:rgba(255,255,255,.3);color:#fff}
.hero{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:50px 20px 60px;text-align:center;color:#fff}
.hero h1{font-size:32px;margin-bottom:10px;font-weight:700}
.hero p{font-size:16px;opacity:.9;margin-bottom:25px}
.search-box{max-width:600px;margin:0 auto;position:relative}
.search-box input{width:100%;padding:14px 50px 14px 20px;border:none;border-radius:30px;font-size:16px;background:#fff;color:#333;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.search-box input:focus{outline:none;box-shadow:0 4px 25px rgba(0,0,0,.2)}
.search-box button{position:absolute;right:5px;top:5px;bottom:5px;width:40px;border:none;background:#667eea;color:#fff;border-radius:50%;cursor:pointer;font-size:16px}
.container{max-width:1200px;margin:0 auto;padding:30px 20px;display:flex;gap:30px}
.main-content{flex:1;min-width:0}
.sidebar{width:280px;flex-shrink:0}
.category-section{margin-bottom:35px}
.category-header{display:flex;align-items:center;margin-bottom:15px;gap:10px}
.category-icon{width:36px;height:36px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px}
.category-title{font-size:20px;font-weight:700;color:#2d3748}
.category-more{margin-left:auto;font-size:13px;color:#667eea}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px}
.tool-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:all .3s;cursor:pointer;border:1px solid transparent;display:flex;gap:12px;align-items:flex-start;position:relative}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,.1);border-color:#667eea}
.tool-icon{width:48px;height:48px;border-radius:10px;background:#f0f2f5;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:24px;overflow:hidden}
.tool-icon img{width:100%;height:100%;object-fit:cover}
.tool-info{flex:1;min-width:0}
.tool-name{font-size:15px;font-weight:600;color:#2d3748;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tool-desc{font-size:12px;color:#718096;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tool-tags{display:flex;gap:5px;margin-top:8px;flex-wrap:wrap}
.tool-tag{font-size:11px;padding:2px 6px;background:#e2e8f0;color:#4a5568;border-radius:4px}
.tool-tag.free{background:#c6f6d5;color:#22543d}
.tool-tag.paid{background:#fed7d7;color:#742a2a}
.tool-tag.recommend{background:#fefcbf;color:#744210}
.tool-badge-recommend{position:absolute;top:-8px;right:-8px;background:#f6ad55;color:#fff;font-size:10px;padding:2px 8px;border-radius:10px;font-weight:600}
.widget{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.widget-title{font-size:16px;font-weight:700;margin-bottom:15px;color:#2d3748;padding-bottom:10px;border-bottom:2px solid #667eea;display:inline-block}
.widget-cats ul{list-style:none}
.widget-cats li{padding:8px 0;border-bottom:1px solid #f0f2f5;display:flex;justify-content:space-between;align-items:center}
.widget-cats li:last-child{border-bottom:none}
.widget-cats a{color:#4a5568;font-size:14px}
.widget-cats a:hover{color:#667eea}
.widget-cats .count{background:#f0f2f5;padding:2px 8px;border-radius:10px;font-size:12px;color:#718096}
.widget-submit{text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}
.widget-submit h3{font-size:18px;margin-bottom:8px}
.widget-submit p{font-size:13px;opacity:.9;margin-bottom:15px}
.widget-submit .btn{display:inline-block;background:#fff;color:#667eea;padding:8px 24px;border-radius:20px;font-weight:600}
.tool-detail{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.tool-detail-header{display:flex;gap:20px;margin-bottom:25px;padding-bottom:25px;border-bottom:1px solid #f0f2f5}
.tool-detail-icon{width:80px;height:80px;border-radius:16px;background:#f0f2f5;display:flex;align-items:center;justify-content:center;font-size:40px;flex-shrink:0;overflow:hidden}
.tool-detail-icon img{width:100%;height:100%;object-fit:cover}
.tool-detail-info h1{font-size:24px;margin-bottom:8px;color:#2d3748}
.tool-detail-info .meta{color:#718096;font-size:14px;margin-bottom:10px}
.tool-detail-info .tags{display:flex;gap:8px;flex-wrap:wrap}
.tool-detail-content h3{font-size:18px;margin:20px 0 10px;color:#2d3748}
.tool-detail-content p{margin-bottom:15px;color:#4a5568}
.tool-detail-content ul,.tool-detail-content ol{margin:10px 0 15px 25px}
.visit-btn{display:inline-block;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 36px;border-radius:25px;font-size:16px;font-weight:600;margin-top:15px}
.visit-btn:hover{color:#fff;opacity:.9;transform:translateY(-2px)}
.page-header{margin-bottom:25px}
.page-header h1{font-size:24px;color:#2d3748;margin-bottom:8px}
.page-header p{color:#718096}
.submit-form{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.submit-form h1{font-size:24px;margin-bottom:20px;color:#2d3748}
.form-group{margin-bottom:20px}
.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#2d3748;font-size:14px}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit}
.form-group textarea{min-height:100px;resize:vertical}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}
.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 40px;border:none;border-radius:25px;font-size:16px;font-weight:600;cursor:pointer}
.price-options{display:flex;gap:15px;margin-top:10px;flex-wrap:wrap}
.price-option{flex:1;min-width:120px;padding:15px;border:2px solid #e2e8f0;border-radius:10px;text-align:center;cursor:pointer;transition:all .3s}
.price-option:hover{border-color:#667eea}
.price-option.selected{border-color:#667eea;background:#f7fafc}
.price-option h4{font-size:16px;margin-bottom:5px;color:#2d3748}
.price-option .price{font-size:20px;font-weight:700;color:#667eea}
.price-option p{font-size:12px;color:#718096;margin-top:5px}
.alert{padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}
.alert-success{background:#c6f6d5;color:#22543d}
.alert-error{background:#fed7d7;color:#742a2a}
.site-footer{background:#2d3748;color:#cbd5e0;padding:40px 20px 20px;margin-top:40px}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;margin-bottom:30px}
.footer-col h4{color:#fff;margin-bottom:15px;font-size:16px}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:8px}
.footer-col a{color:#a0aec0;font-size:14px}
.footer-col a:hover{color:#fff}
.footer-bottom{text-align:center;padding-top:20px;border-top:1px solid #4a5568;font-size:13px;color:#718096}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:30px;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;border-radius:6px;background:#fff;color:#4a5568;font-size:14px;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.pagination a:hover{background:#667eea;color:#fff}
.pagination .current{background:#667eea;color:#fff}
.search-results-header{margin-bottom:20px}
.search-results-header h1{font-size:22px;color:#2d3748}
.no-results{text-align:center;padding:60px 20px;color:#718096}
.no-results h2{font-size:20px;margin-bottom:10px;color:#4a5568}
.ad-space{background:#fff;border-radius:12px;padding:20px;text-align:center;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:2px dashed #e2e8f0}
.ad-space-label{font-size:12px;color:#a0aec0;margin-bottom:10px;text-transform:uppercase}
.ad-space-content{color:#718096;font-size:14px;min-height:80px;display:flex;align-items:center;justify-content:center}
@media(max-width:900px){.container{flex-direction:column}.sidebar{width:100%}.hero h1{font-size:24px}.tool-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
@media(max-width:600px){.header-inner{flex-wrap:wrap;height:auto;padding:10px 15px;gap:10px}.main-nav{order:3;width:100%}.tool-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.tool-card{padding:12px}.tool-icon{width:40px;height:40px;font-size:20px}.hero{padding:30px 15px 40px}.hero h1{font-size:20px}.tool-detail-header{flex-direction:column}.price-options{flex-direction:column}}


/* 适配样式 */
.tool-icon-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-tag.free { background: #e8f5e9; color: #2e7d32; }
.tool-tag.paid { background: #fce4ec; color: #c2185b; }
.tool-tag.freemium { background: #e3f2fd; color: #1565c0; }
.tool-tag.hot { background: #fff3e0; color: #e65100; }
.tool-tag.new { background: #f3e5f5; color: #7b1fa2; }

.archive-header { padding: 30px 0; }
.archive-title { font-size: 28px; margin-bottom: 10px; }
.archive-desc { color: #666; }

.single-tool { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.tool-detail-header { display: flex; align-items: center; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.tool-detail-icon { width: 80px; height: 80px; background: #f5f7fa; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.tool-detail-info { flex: 1; }
.tool-detail-title { font-size: 28px; margin: 0 0 10px 0; }
.tool-detail-meta { display: flex; gap: 15px; align-items: center; }
.tool-meta-item { color: #666; font-size: 14px; }
.btn-visit { white-space: nowrap; }
.tool-detail-content { line-height: 1.8; color: #333; font-size: 15px; }
.tool-detail-content p { margin-bottom: 15px; }
.tool-detail-footer { margin-top: 30px; text-align: center; padding-top: 30px; border-top: 1px solid #eee; }
.btn-large { padding: 14px 40px; font-size: 16px; }


/* ====== 详情页样式 ====== */
.tool-detail { background:#fff; border-radius:12px; padding:30px; box-shadow:0 2px 12px rgba(0,0,0,.06); margin-bottom:30px; }
.tool-detail-header { display:flex; align-items:center; gap:20px; padding-bottom:25px; border-bottom:2px solid #f0f0f0; margin-bottom:25px; flex-wrap:wrap; }
.tool-detail-icon { width:72px; height:72px; min-width:72px; background:linear-gradient(135deg,#f5f7fa,#e8ecf1); border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:32px; font-weight:700; }
.tool-detail-info { flex:1; min-width:200px; }
.tool-detail-title { font-size:26px; margin:0 0 10px; }
.tool-detail-meta { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.tool-meta-item { color:#666; font-size:14px; background:#f5f7fa; padding:3px 10px; border-radius:20px; }
.btn-visit { white-space:nowrap; padding:12px 24px; font-size:15px; }
.tool-detail-section { margin-bottom:25px; }
.tool-detail-section .section-title { font-size:18px; margin:0 0 15px; padding-left:0; border-left:none; }
.tool-detail-content { line-height:1.8; color:#444; font-size:15px; }
.tool-detail-content p { margin-bottom:12px; }
.tool-cats-list { display:flex; gap:8px; flex-wrap:wrap; }
.tool-cat-link { background:#f5f7fa; color:#667eea; padding:6px 16px; border-radius:20px; font-size:14px; transition:all .3s; }
.tool-cat-link:hover { background:#667eea; color:#fff; }
.tool-usage { background:#f9fafe; border-left:4px solid #667eea; padding:15px 20px; border-radius:0 8px 8px 0; line-height:1.8; }
.tool-detail-action { text-align:center; padding:30px; background:linear-gradient(135deg,#f5f7fa,#e8ecf1); border-radius:12px; }
.btn-large { padding:16px 48px; font-size:17px; }
.action-tip { margin-top:10px; color:#999; font-size:13px; }
.related-tools { background:#fff; border-radius:12px; padding:25px; box-shadow:0 2px 12px rgba(0,0,0,.06); }
.related-tools .section-title { margin-bottom:20px; }
.related-tools .tool-card { width:calc(25% - 12px); }
@media(max-width:768px){ .related-tools .tool-card{width:100%;} .tool-detail-header{flex-direction:column;text-align:center;} }

/* ====== 点击徽章 ====== */
.tool-clicks-badge { background:#fff3e0; color:#e65100; font-size:12px; padding:2px 8px; border-radius:10px; margin-left:4px; }
.tool-card { display:block; text-decoration:none; color:inherit; }

/* ====== 排行榜样式 ====== */
.ranking-main { background:#fff; border-radius:12px; padding:30px; box-shadow:0 2px 12px rgba(0,0,0,.06); }
.ranking-header { text-align:center; margin-bottom:30px; padding-bottom:20px; border-bottom:2px solid #f0f0f0; }
.ranking-title { font-size:28px; margin:0 0 8px; }
.ranking-subtitle { color:#666; font-size:14px; margin:0; }
.ranking-tabs { display:flex; gap:10px; margin-bottom:25px; justify-content:center; }
.ranking-tab { padding:8px 24px; border:2px solid #e0e0e0; background:#fff; border-radius:25px; cursor:pointer; font-size:14px; transition:all .3s; }
.ranking-tab.active, .ranking-tab:hover { border-color:#667eea; background:#667eea; color:#fff; }
.ranking-item { display:flex; align-items:center; gap:15px; padding:15px 20px; border:1px solid #f0f0f0; border-radius:10px; margin-bottom:10px; transition:all .3s; }
.ranking-item:hover { box-shadow:0 4px 15px rgba(102,126,234,.12); border-color:#667eea; }
.ranking-item.rank-top { background:linear-gradient(135deg,rgba(255,215,0,.05),rgba(255,215,0,.02)); border-color:rgba(255,215,0,.3); }
.ranking-item.rank-1 { background:linear-gradient(135deg,rgba(255,215,0,.08),rgba(255,215,0,.03)); }
.rank-badge { width:40px; min-width:40px; height:40px; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:700; background:#f5f7fa; border-radius:50%; }
.rank-top .rank-badge { background:transparent; }
.rank-num-text { font-size:16px; color:#999; }
.rank-icon { width:48px; min-width:48px; height:48px; background:linear-gradient(135deg,#f5f7fa,#e8ecf1); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; }
.rank-info { flex:1; min-width:0; }
.rank-name { font-size:16px; font-weight:600; color:#333; text-decoration:none; display:block; margin-bottom:4px; }
.rank-name:hover { color:#667eea; }
.rank-desc { font-size:13px; color:#888; margin-bottom:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank-meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.rank-cat { font-size:12px; color:#667eea; background:#eef1fd; padding:2px 10px; border-radius:10px; }
.rank-region { font-size:12px; color:#999; }
.rank-stats { text-align:center; min-width:70px; }
.rank-clicks { font-size:22px; font-weight:700; color:#667eea; }
.rank-clicks-label { font-size:11px; color:#999; }
.rank-visit-btn { padding:8px 18px; background:#667eea; color:#fff; border-radius:20px; font-size:13px; text-decoration:none; white-space:nowrap; transition:all .3s; }
.rank-visit-btn:hover { background:#764ba2; color:#fff; }
.ranking-empty { text-align:center; padding:60px 20px; color:#999; }
.ranking-empty p { margin-bottom:10px; font-size:16px; }
.widget-ranking-link { background:linear-gradient(135deg,#fff3e0,#fff8e1); border-radius:10px; padding:20px; text-align:center; }
.widget-stats .stats-list { list-style:none; padding:0; }
.widget-stats .stats-list li { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid #f0f0f0; }
.widget-stats .stat-label { color:#666; }
.widget-stats .stat-value { font-weight:700; color:#667eea; }
@media(max-width:768px){
    .ranking-item{flex-wrap:wrap;}
    .rank-stats{order:3;width:100%;text-align:left;margin-top:5px;}
    .rank-visit-btn{order:4;width:100%;text-align:center;margin-top:5px;}
    .rank-desc{white-space:normal;}
}

/* ============================================
   详情页 V3 重设计样式 - 更美观更醒目
   ============================================ */

/* LOGO 通用 */
.tool-logo { display:inline-flex; align-items:center; justify-content:center; border-radius:20px; overflow:hidden; color:#fff; font-weight:800; font-size:36px; box-shadow:0 8px 24px rgba(0,0,0,.12); flex-shrink:0; transition:all .3s; }
.tool-logo:hover { transform:scale(1.05); }
.tool-logo-img img { width:100%; height:100%; object-fit:cover; display:block; }
.tool-logo-letter { display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:inherit; }
.tool-logo-fallback { font-size:40px; }

/* 详情页主体容器 */
.tool-detail-v2 { background:#fff; border-radius:20px; padding:0; box-shadow:0 4px 24px rgba(0,0,0,.06); overflow:hidden; margin-bottom:30px; }

/* HERO */
.td-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:40px; padding:40px 40px 35px; background:linear-gradient(135deg,rgba(102,126,234,.08),rgba(118,75,162,.05)); border-bottom:1px solid rgba(102,126,234,.1); }
.td-hero-main { display:flex; gap:30px; align-items:flex-start; flex:1; min-width:0; }
.td-logo-wrap .tool-logo { width:100px; height:100px; font-size:48px; }
.td-hero-info { flex:1; min-width:0; }
.td-title { font-size:36px; font-weight:900; color:#1a202c; margin:0 0 10px; line-height:1.15; letter-spacing:-0.5px; }
.td-subtitle { font-size:16px; color:#718096; margin:0 0 20px; line-height:1.6; font-weight:400; }
.td-tags { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.td-tag { display:inline-flex; align-items:center; gap:5px; padding:7px 16px; font-size:14px; border-radius:25px; background:#edf2f7; color:#4a5568; font-weight:600; transition:all .3s; }
.td-tag:hover { transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.1); }
.td-tag-price.free { background:linear-gradient(135deg,#c6f6d5,#9ae6b4); color:#22543d; border:1px solid rgba(34,84,61,.1); }
.td-tag-price.paid { background:linear-gradient(135deg,#fed7d7,#feb2b2); color:#742a2a; border:1px solid rgba(116,42,42,.1); }
.td-tag-price.freemium, .td-tag-price.hot, .td-tag-price.new { background:linear-gradient(135deg,#fefcbf,#faf089); color:#744210; border:1px solid rgba(116,66,16,.1); }
.td-tag-region { background:linear-gradient(135deg,#e6fffa,#b2f5ea); color:#234e52; }
.td-tag-clicks { background:linear-gradient(135deg,#fff3e0,#ffe0b2); color:#e65100; }
.td-tag-extra { background:linear-gradient(135deg,#eef1fd,#dbeafe); color:#4c51bf; }

/* 访问按钮 - 大且醒目 */
.td-hero-cta { display:flex; flex-direction:column; align-items:flex-end; gap:12px; flex-shrink:0; }
.td-visit-btn { display:inline-flex; align-items:center; gap:12px; padding:20px 42px; background:linear-gradient(135deg,#667eea 0%,#764ba2 100%); color:#fff !important; font-size:18px; font-weight:800; border-radius:35px; text-decoration:none; box-shadow:0 10px 28px rgba(102,126,234,.4); transition:all .4s; position:relative; overflow:hidden; }
.td-visit-btn::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); transition:left .5s; }
.td-visit-btn:hover { transform:translateY(-4px) scale(1.02); box-shadow:0 16px 40px rgba(102,126,234,.5); }
.td-visit-btn:hover::before { left:100%; }
.td-visit-btn:active { transform:translateY(-2px) scale(1); }
.td-visit-btn-lg { padding:26px 56px; font-size:22px; border-radius:40px; }
.td-visit-icon { font-size:26px; line-height:1; }
.td-host { font-size:13px; color:#a0aec0; font-family:'SF Mono',monospace; background:#fff; padding:6px 12px; border-radius:10px; }

/* 快速信息条 */
.td-quickinfo { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:0; padding:0; background:linear-gradient(135deg,#fafbfc,#f5f7fa); border-bottom:1px solid #e2e8f0; }
.td-qi-item { padding:22px 28px; border-right:1px solid #e2e8f0; position:relative; overflow:hidden; }
.td-qi-item::after { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:linear-gradient(135deg,#667eea,#764ba2); }
.td-qi-item:last-child { border-right:none; }
.td-qi-label { font-size:12px; color:#a0aec0; margin-bottom:8px; text-transform:uppercase; letter-spacing:1px; font-weight:600; }
.td-qi-value { font-size:18px; font-weight:700; color:#2d3748; }
.td-qi-multi { font-size:15px; font-weight:600; line-height:1.5; color:#4a5568; }

/* Section 通用 */
.td-section { padding:35px 40px; border-bottom:1px solid #f0f0f0; }
.td-section:last-of-type { border-bottom:none; }
.td-section-title { display:flex; align-items:center; gap:12px; font-size:22px; font-weight:800; color:#1a202c; margin:0 0 20px; }
.td-section-icon { font-size:28px; }

/* 描述 */
.td-desc { color:#4a5568; font-size:16px; line-height:1.9; }
.td-desc p { margin:0 0 14px; }
.td-desc p:last-child { margin-bottom:0; }

/* 核心功能 - 卡片网格 */
.td-features { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.td-feature { display:flex; align-items:flex-start; gap:16px; padding:20px 22px; background:linear-gradient(135deg,rgba(102,126,234,.06),rgba(118,75,162,.04)); border:1px solid rgba(102,126,234,.15); border-radius:16px; transition:all .4s; position:relative; overflow:hidden; }
.td-feature:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(102,126,234,.15); border-color:#667eea; }
.td-feature-num { flex-shrink:0; width:38px; height:38px; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; font-family:'SF Mono',monospace; box-shadow:0 4px 12px rgba(102,126,234,.3); }
.td-feature-text { color:#2d3748; font-size:15px; line-height:1.7; flex:1; font-weight:500; }

/* 使用方法 - 步骤列表 */
.td-usage { color:#4a5568; font-size:16px; line-height:1.9; }
.td-usage p { margin:0; }
.td-steps { list-style:none; padding:0; margin:0; counter-reset:step; }
.td-steps li { position:relative; padding:18px 24px 18px 64px; background:linear-gradient(135deg,#fafbfc,#f5f7fa); border-left:4px solid #667eea; border-radius:0 12px 12px 0; margin-bottom:12px; color:#2d3748; font-weight:500; transition:all .3s; }
.td-steps li:hover { background:linear-gradient(135deg,rgba(102,126,234,.06),rgba(118,75,162,.04)); transform:translateX(8px); }
.td-steps li::before { counter-increment:step; content:counter(step); position:absolute; left:18px; top:50%; transform:translateY(-50%); width:34px; height:34px; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; box-shadow:0 4px 12px rgba(102,126,234,.3); }

/* 分类药丸 */
.td-cats { display:flex; gap:12px; flex-wrap:wrap; }
.td-cat-pill { display:inline-block; padding:10px 24px; background:#fff; border:2px solid #e2e8f0; border-radius:30px; color:#4a5568; font-size:15px; font-weight:600; text-decoration:none; transition:all .4s; }
.td-cat-pill:hover { border-color:#667eea; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff; transform:translateY(-3px); box-shadow:0 8px 20px rgba(102,126,234,.3); }

/* 底部 CTA - 强烈视觉冲击 */
.td-bottom-cta { padding:45px 40px; background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#667eea 100%); background-size:200% 200%; animation:gradient-flow 8s ease infinite; color:#fff; text-align:center; position:relative; overflow:hidden; }
@keyframes gradient-flow { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
.td-bottom-cta::before { content:''; position:absolute; top:-50%; right:-50%; width:100%; height:100%; background:radial-gradient(circle,rgba(255,255,255,.15) 0%,transparent 70%); }
.td-bottom-cta::after { content:''; position:absolute; bottom:-30%; left:-30%; width:80%; height:80%; background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%); }
.td-bottom-cta-text { position:relative; z-index:1; }
.td-bottom-cta-text h3 { font-size:28px; margin:0 0 10px; font-weight:900; }
.td-bottom-cta-text p { margin:0 0 25px; opacity:.9; font-size:16px; font-weight:500; }
.td-bottom-cta .td-visit-btn { background:#fff; color:#667eea !important; box-shadow:0 12px 32px rgba(0,0,0,.25); font-weight:900; }
.td-bottom-cta .td-visit-btn:hover { background:#f7fafc; color:#667eea !important; box-shadow:0 16px 40px rgba(0,0,0,.3); }

/* 相关工具 */
.td-related { padding:35px 40px; }
.td-related-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.td-related-card { display:flex; gap:14px; padding:20px; background:#fff; border:1px solid #e2e8f0; border-radius:16px; text-decoration:none; color:inherit; transition:all .4s; }
.td-related-card:hover { border-color:#667eea; transform:translateY(-5px); box-shadow:0 12px 28px rgba(102,126,234,.15); }
.td-related-logo .tool-logo { width:56px; height:56px; font-size:26px; border-radius:14px; }
.td-related-info { flex:1; min-width:0; }
.td-related-name { font-size:16px; font-weight:800; color:#2d3748; margin-bottom:6px; }
.td-related-desc { font-size:13px; color:#718096; line-height:1.6; margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.td-related-meta { display:flex; gap:8px; align-items:center; }
.td-related-meta .td-tag { padding:3px 10px; font-size:12px; }
.td-related-clicks { font-size:12px; color:#a0aec0; margin-left:auto; font-weight:500; }

/* 详情页响应式 */
@media(max-width:900px){
    .td-hero{flex-direction:column;align-items:flex-start;padding:30px 24px;}
    .td-hero-cta{align-items:stretch;width:100%;margin-top:20px;}
    .td-visit-btn{width:100%;justify-content:center;}
    .td-quickinfo{grid-template-columns:repeat(2,1fr);}
    .td-qi-item:nth-child(2n){border-right:none;}
    .td-qi-item{border-bottom:1px solid #e2e8f0;}
    .td-section{padding:30px 24px;}
    .td-title{font-size:28px;}
    .td-related{padding:30px 24px;}
    .td-related-grid{grid-template-columns:1fr;}
    .td-bottom-cta-text h3{font-size:22px;}
}
@media(max-width:600px){
    .td-hero-main{flex-direction:column;align-items:center;text-align:center;}
    .td-logo-wrap .tool-logo{width:80px;height:80px;font-size:36px;}
    .td-tags{justify-content:center;}
    .td-quickinfo{grid-template-columns:1fr;}
    .td-qi-item{border-right:none;border-bottom:1px solid #e2e8f0;}
    .td-qi-item:last-child{border-bottom:none;}
    .td-features{grid-template-columns:1fr;}
    .td-bottom-cta{padding:35px 20px;}
    .td-visit-btn-lg{padding:20px 36px;font-size:18px;}
    .td-title{font-size:24px;}
    .td-section-title{font-size:18px;}
}

@media(max-width:600px){
    .td-hero-main{flex-direction:column;align-items:center;text-align:center;}
    .td-logo-wrap .tool-logo{width:72px;height:72px;font-size:34px;}
    .td-tags{justify-content:center;}
    .td-quickinfo{grid-template-columns:1fr;}
    .td-qi-item{border-right:none;border-bottom:1px solid #f0f0f0;}
    .td-qi-item:last-child{border-bottom:none;}
    .td-features{grid-template-columns:1fr;}
    .td-bottom-cta{padding:30px 20px;}
    .td-visit-btn-lg{padding:16px 32px;font-size:16px;}
    .td-title{font-size:22px;}
}


/* ============================================
   详情页 V4 全新设计 - 现代化卡片风格
   ============================================ */

/* 容器 */
.container-single { max-width:1200px; margin:0 auto; padding:30px 20px; display:flex; gap:30px; }
.container-single .main-content { flex:1; min-width:0; }
.container-single .sidebar { width:280px; flex-shrink:0; }

/* 详情卡片 */
.detail-card { background:#fff; border-radius:24px; overflow:hidden; box-shadow:0 4px 24px rgba(0,0,0,.08); }

/* 顶部 Banner */
.detail-banner { position:relative; padding:50px 40px; overflow:hidden; }
.banner-gradient { position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#667eea 100%); background-size:200% 200%; animation:banner-flow 8s ease infinite; }
@keyframes banner-flow { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
.banner-content { position:relative; display:flex; align-items:flex-start; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.banner-logo .tool-logo { width:100px; height:100px; font-size:48px; border-radius:20px; box-shadow:0 8px 24px rgba(0,0,0,.2); }
.banner-info { flex:1; min-width:280px; }
.banner-title { font-size:36px; font-weight:900; color:#fff; margin:0 0 10px; letter-spacing:-0.5px; }
.banner-subtitle { font-size:16px; color:rgba(255,255,255,.85); margin:0 0 18px; line-height:1.6; }
.banner-tags { display:flex; gap:10px; flex-wrap:wrap; }
.banner-tags span { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:25px; font-size:14px; font-weight:600; }
.tag-price.free { background:rgba(198,246,213,.25); color:#9ae6b4; border:1px solid rgba(198,246,213,.3); }
.tag-price.paid { background:rgba(254,215,215,.25); color:#feb2b2; border:1px solid rgba(254,215,215,.3); }
.tag-price.freemium, .tag-price.hot, .tag-price.new { background:rgba(254,252,191,.25); color:#faf089; border:1px solid rgba(254,252,191,.3); }
.tag-region { background:rgba(230,255,250,.25); color:#b2f5ea; border:1px solid rgba(230,255,250,.3); }
.tag-clicks { background:rgba(255,243,224,.25); color:#ffe0b2; border:1px solid rgba(255,243,224,.3); }
.banner-btn { display:inline-flex; align-items:center; gap:10px; padding:18px 32px; background:#fff; color:#667eea !important; font-size:17px; font-weight:800; border-radius:30px; text-decoration:none; box-shadow:0 8px 24px rgba(0,0,0,.25); transition:all .3s; flex-shrink:0; }
.banner-btn:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 12px 32px rgba(0,0,0,.3); }

/* 快捷统计 */
.quick-stats { display:grid; grid-template-columns:repeat(4,1fr); padding:0; background:#f8fafc; }
.stat-item { padding:24px 16px; text-align:center; border-right:1px solid #e2e8f0; }
.stat-item:last-child { border-right:none; }
.stat-icon { font-size:28px; margin-bottom:8px; }
.stat-value { font-size:20px; font-weight:800; color:#1e293b; margin-bottom:4px; }
.stat-label { font-size:12px; color:#94a3b8; text-transform:uppercase; letter-spacing:1px; }

/* 详细 Section */
.detail-section { display:flex; gap:20px; padding:35px 40px; border-bottom:1px solid #f0f0f0; }
.detail-section:last-of-type { border-bottom:none; }
.section-icon { font-size:36px; flex-shrink:0; }
.section-content { flex:1; }
.section-content h2 { font-size:22px; font-weight:800; color:#1e293b; margin:0 0 14px; }
.section-content p { font-size:16px; color:#475569; line-height:1.8; margin:0; }

/* 功能网格 */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; }
.feature-card { display:flex; align-items:flex-start; gap:14px; padding:18px 20px; background:linear-gradient(135deg,rgba(102,126,234,.06),rgba(118,75,162,.04)); border-radius:14px; border:1px solid rgba(102,126,234,.15); transition:all .3s; }
.feature-card:hover { transform:translateY(-3px); box-shadow:0 8px 20px rgba(102,126,234,.12); border-color:#667eea; }
.feature-num { width:32px; height:32px; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; flex-shrink:0; }
.feature-text { font-size:15px; color:#334155; line-height:1.6; font-weight:500; }

/* 步骤列表 */
.steps-list { list-style:none; padding:0; margin:0; counter-reset:step; }
.steps-list li { position:relative; padding:16px 20px 16px 56px; background:#f8fafc; border-left:4px solid #667eea; border-radius:0 10px 10px 0; margin-bottom:10px; color:#334155; font-size:15px; font-weight:500; }
.steps-list li::before { counter-increment:step; content:counter(step); position:absolute; left:16px; top:50%; transform:translateY(-50%); width:28px; height:28px; background:#667eea; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; }

/* 分类列表 */
.cats-list { display:flex; gap:12px; flex-wrap:wrap; }
.cat-tag { display:inline-block; padding:10px 22px; background:#fff; border:2px solid #e2e8f0; border-radius:25px; color:#475569; font-size:15px; font-weight:600; text-decoration:none; transition:all .3s; }
.cat-tag:hover { border-color:#667eea; background:#667eea; color:#fff; transform:translateY(-2px); }

/* 底部 CTA */
.cta-section { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:40px; background:linear-gradient(135deg,#fef3c7,#fde68a); border-top:1px solid #fcd34d; }
.cta-info h3 { font-size:22px; font-weight:800; color:#92400e; margin:0 0 6px; }
.cta-info p { font-size:15px; color:#b45309; margin:0; }
.cta-btn { display:inline-flex; align-items:center; gap:10px; padding:18px 40px; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff !important; font-size:17px; font-weight:800; border-radius:30px; text-decoration:none; box-shadow:0 8px 24px rgba(102,126,234,.35); transition:all .3s; }
.cta-btn:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 12px 32px rgba(102,126,234,.45); }

/* 相关工具 */
.related-section { margin-top:30px; background:#fff; border-radius:20px; padding:30px; box-shadow:0 4px 20px rgba(0,0,0,.06); }
.related-title { font-size:20px; font-weight:800; color:#1e293b; margin:0 0 20px; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; }
.related-card { padding:20px; background:#f8fafc; border-radius:16px; text-decoration:none; color:inherit; text-align:center; transition:all .3s; }
.related-card:hover { background:#fff; box-shadow:0 8px 20px rgba(102,126,234,.1); transform:translateY(-4px); }
.related-logo .tool-logo { width:56px; height:56px; font-size:26px; margin:0 auto 12px; border-radius:14px; }
.related-name { font-size:15px; font-weight:700; color:#1e293b; margin-bottom:6px; }
.related-desc { font-size:12px; color:#94a3b8; line-height:1.5; margin-bottom:10px; }
.related-tags .tag-price { padding:4px 10px; font-size:12px; }

/* 侧边栏 */
.sidebar-widget { background:#fff; border-radius:16px; padding:24px; margin-bottom:20px; box-shadow:0 4px 12px rgba(0,0,0,.06); text-align:center; }
.sidebar-widget h3 { font-size:18px; font-weight:800; color:#1e293b; margin:0 0 8px; }
.sidebar-widget p { font-size:13px; color:#94a3b8; margin:0 0 16px; }
.widget-btn { display:inline-block; padding:12px 28px; background:linear-gradient(135deg,#667eea,#764ba2); color:#fff !important; font-weight:700; border-radius:25px; text-decoration:none; transition:all .3s; }
.widget-btn:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(102,126,234,.3); }

/* 响应式 */
@media(max-width:900px){
    .container-single{flex-direction:column;}
    .container-single .sidebar{width:100%;}
    .banner-content{flex-direction:column; align-items:center; text-align:center;}
    .banner-tags{justify-content:center;}
    .quick-stats{grid-template-columns:repeat(2,1fr);}
    .stat-item:nth-child(2n){border-right:none;}
    .stat-item{border-bottom:1px solid #e2e8f0;}
    .stat-item:last-child{border-bottom:none;}
    .detail-section{flex-direction:column;}
    .cta-section{flex-direction:column; text-align:center;}
    .related-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
    .detail-banner{padding:35px 20px;}
    .banner-logo .tool-logo{width:72px; height:72px; font-size:36px;}
    .banner-title{font-size:26px;}
    .detail-section{padding:25px 20px;}
    .quick-stats{grid-template-columns:1fr;}
    .stat-item{border-right:none;}
    .features-grid{grid-template-columns:1fr;}
    .cta-section{padding:25px 20px;}
    .related-grid{grid-template-columns:1fr;}
}
