/**
 * 网炎商标申报系统 - 前台公共样式（粉蓝配色版）
 * @package WangYanShangBiao
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 14px; color: #333; background: #f5f7fa; line-height: 1.6; }
a { text-decoration: none; color: #333; }
ul, li { list-style: none; }
img { border: none; max-width: 100%; vertical-align: middle; }
.clearfix::after { content: ''; display: block; clear: both; }
.wrap { width: 1200px; margin: 0 auto; }

/* ============ 通用按钮 ============ */
.btn { display: inline-block; padding: 8px 20px; font-size: 14px; border-radius: 4px; cursor: pointer; border: none; text-align: center; transition: all .2s; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 12px 32px; font-size: 16px; }
.btn-pink { background: #FF68A2; color: #fff; }
.btn-pink:hover { background: #ff4480; color: #fff; }
.btn-blue { background: #34A7F3; color: #fff; }
.btn-blue:hover { background: #2a8ae6; color: #fff; }
.btn-green { background: #52c41a; color: #fff; }
.btn-green:hover { background: #43a817; color: #fff; }
.btn-gray { background: #f0f0f0; color: #666; }
.btn-gray:hover { background: #e6e6e6; }
.btn-line { background: transparent; color: #FF68A2; border: 1px solid #FF68A2; }
.btn-line:hover { background: #fff0f5; }

/* ============ 表单 ============ */
.form-control { width: 100%; padding: 10px 12px; border: 1px solid #e5e9f0; border-radius: 4px; font-size: 14px; outline: none; font-family: inherit; }
.form-control:focus { border-color: #FF68A2; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.form-tip { font-size: 12px; color: #999; margin-top: 4px; }
.req { color: #FF68A2; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

/* ============ 顶部信息条 ============ */
.topbar { background: #34A7F3; color: #fff; font-size: 12px; height: 36px; line-height: 36px; }
.topbar .welcome { float: left; }
.topbar .topright { float: right; }
.topbar a { color: #fff; margin: 0 6px; }
.topbar a:hover { color: #ffd5e5; }
.topbar .topright span { margin: 0 12px; color: rgba(255,255,255,.8); }

/* ============ 头部导航 ============ */
.header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .name { font-size: 24px; font-weight: 700; color: #FF68A2; letter-spacing: 1px; }
.logo img { height: 48px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: 0 22px; height: 72px; line-height: 72px; font-size: 15px; color: #444; transition: all .25s; }
.nav a:hover, .nav li.active a { color: #FF68A2; }
.nav li.active a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 44px; height: 3px; background: #FF68A2; border-radius: 2px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.header-right .btn { height: 34px; line-height: 34px; font-size: 13px; padding: 0 18px; }
.user-menu { position: relative; }
.user-menu .uname { cursor: pointer; color: #555; font-size: 14px; padding: 8px 10px; border-radius: 6px; transition: background .2s; }
.user-menu .uname:hover { background: #f5f7fa; }
.user-menu .dropdown { display: none; position: absolute; right: 0; top: 100%; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 150px; z-index: 200; padding: 8px 0; margin-top: 8px; border: 1px solid #f0f0f0; }
.user-menu .dropdown a { display: block; padding: 12px 20px; font-size: 14px; color: #555; transition: all .2s; }
.user-menu .dropdown a:hover { background: #fff0f5; color: #FF68A2; }
.user-menu.open .dropdown { display: block; }
.header-right .nav-toggle { display: none; font-size: 24px; color: #333; padding: 0 10px; cursor: pointer; }
.nav .mobile-only { display: none; }

/* ============ 轮播Banner ============ */
.banner { position: relative; height: 460px; overflow: hidden; }
.banner .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; }
.banner .slide.active { display: block; }
.banner .slide .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.banner .slide .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.3); }
.banner .slide .txt { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; color: #fff; z-index: 2; width: 100%; }
.banner .slide .txt h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.banner .slide .txt p { font-size: 16px; margin-bottom: 24px; opacity: .9; }
.banner .dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.banner .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.banner .dots span.active { background: #fff; }
.banner .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 60px; background: rgba(255,255,255,.3); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.banner .arrow:hover { background: rgba(255,255,255,.5); }
.banner .arrow.prev { left: 20px; }
.banner .arrow.next { right: 20px; }

/* ============ 公告条 ============ */
.home-notice { background: #FFF0F5; border-bottom: 1px solid #FFE0EB; padding: 10px 0; color: #FF68A2; font-size: 13px; overflow: hidden; white-space: nowrap; }
.home-notice .wrap { width: 1200px; margin: 0 auto; overflow: hidden; }
.home-notice .notice-text { display: inline-block; animation: scrollLeft 15s linear infinite; }
@keyframes scrollLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============ 通用区块 ============ */
.section { padding: 60px 0; }
.section.bg-white { background: #fff; }
.section.bg-gray { background: #f5f7fa; }
.section.bg-pink { background: linear-gradient(135deg, #FFF0F5, #FFE8F0); }
.section.bg-pink .adv-item { background: rgba(255,255,255,.6); border-color: rgba(255,104,162,.2); }
.section.bg-blue { background: linear-gradient(135deg, #34A7F3, #2a8ae6); }
.section.bg-blue .sec-title h2,
.section.bg-blue .sec-title p { color: #fff; }
.section.bg-blue .sec-title .line { background: #fff; }
.section.bg-blue .adv-item h3,
.section.bg-blue .adv-item p { color: #fff; }

.section.bg-blue .step-item h4,
.section.bg-blue .step-item p { color: #fff; }
.section.bg-blue .step-item .num { background: rgba(255,255,255,.2); color: #fff; box-shadow: 0 4px 16px rgba(255,255,255,.2); }
.section.bg-blue .step-item::after { background: rgba(255,255,255,.3); }
.section.bg-blue .service-card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.section.bg-blue .service-card h3,
.section.bg-blue .service-card p { color: #fff; }
.section.bg-blue .service-card .icon { background: rgba(255,255,255,.2); color: #fff; }
.section.bg-blue .service-card:hover .icon { background: #fff; color: #34A7F3; }
.sec-title { text-align: center; margin-bottom: 40px; }
.sec-title h2 { font-size: 28px; font-weight: 700; color: #1a2233; margin-bottom: 10px; }
.sec-title p { font-size: 14px; color: #888; }
.sec-title .line { width: 50px; height: 3px; background: #FF68A2; margin: 14px auto 0; border-radius: 2px; }

/* ============ 核心服务 ============ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: 12px; padding: 32px 28px; text-align: center; transition: all .35s; border: 1px solid #f0f2f5; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #FF68A2, #FFA5C8); opacity: 0; transition: opacity .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(255,104,162,.12); border-color: #FFE0EB; }
.service-card:hover::before { opacity: 1; }
.service-card .icon { width: 64px; height: 64px; margin: 0 auto 20px; background: linear-gradient(135deg, #FFF0F5, #FFE8F0); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #FF68A2; font-weight: 700; transition: all .35s; }
.service-card:hover .icon { background: linear-gradient(135deg, #FF68A2, #FFA5C8); color: #fff; transform: scale(1.08); }
.service-card h3 { font-size: 18px; font-weight: 600; color: #1a2233; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: #777; line-height: 1.8; margin-bottom: 0; }

/* ============ 注册流程 ============ */
.steps { display: flex; justify-content: center; gap: 0; }
.step-item { position: relative; text-align: center; padding: 0 36px; flex: 1; }
.step-item .num { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #FF68A2, #FFA5C8); color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(255,104,162,.3); }
.step-item h4 { font-size: 16px; font-weight: 600; color: #1a2233; }
.step-item p { font-size: 13px; color: #888; margin-top: 8px; line-height: 1.6; }
.step-item::after { content: ''; position: absolute; top: 27px; right: -18px; width: 36px; height: 3px; background: rgba(255,255,255,.4); }
.step-item:last-child::after { display: none; }

/* ============ 商标分类（首页） ============ */
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.cat-item { background: #fff; border-radius: 6px; padding: 16px 8px; text-align: center; cursor: pointer; transition: all .2s; border: 1px solid #eee; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80px; }
.cat-item:hover { background: #FFF0F5; border-color: #FF68A2; transform: translateY(-2px); }
.cat-item .no { font-size: 20px; font-weight: 700; color: #FF68A2; line-height: 1; }
.cat-item .nm { font-size: 12px; color: #666; margin-top: 6px; line-height: 1.4; }
.cat-detail { display: none; padding: 20px; background: #fff; border: 1px solid #eee; border-radius: 6px; margin-top: 10px; }

/* ============ 商标分类内页 ============ */
.tm-tabs { display: flex; gap: 0; margin-bottom: 24px; background: linear-gradient(135deg, #FFF0F5, #FFE8F0); border-radius: 10px; padding: 6px; }
.tm-tabs .tab-item { flex: 1; text-align: center; padding: 14px 24px; font-size: 15px; font-weight: 600; color: #666; text-decoration: none; border-radius: 8px; transition: all .25s; }
.tm-tabs .tab-item:hover { color: #FF68A2; }
.tm-tabs .tab-item.active { background: #fff; color: #FF68A2; box-shadow: 0 4px 12px rgba(255,104,162,.15); }
.tm-class-container { display: flex; gap: 24px; }
.tm-class-sidebar { width: 220px; background: #fff; border-radius: 10px; padding: 20px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.tm-class-sidebar h3 { font-size: 16px; font-weight: 700; color: #1a2233; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #FF68A2; }
.tm-class-sidebar ul { list-style: none; }
.tm-class-sidebar li { margin-bottom: 2px; }
.tm-class-sidebar li a { display: block; padding: 10px 14px; font-size: 14px; color: #555; border-radius: 6px; transition: all .2s; border-left: 3px solid transparent; }
.tm-class-sidebar li a:hover { background: #FFF0F5; color: #FF68A2; border-left-color: #FF68A2; }
.tm-class-sidebar li.active a { background: #FF68A2; color: #fff; border-left-color: #FF68A2; }
.tm-class-content { flex: 1; min-width: 0; }
.tm-class-content-full { width: 100%; background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.tm-class-detail { background: #fff; border-radius: 10px; padding: 28px; }
.tm-class-detail h1 { font-size: 24px; font-weight: 700; color: #1a2233; margin-bottom: 16px; }
.tm-class-detail .desc { font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 24px; padding: 16px; background: #fff8f8; border-radius: 8px; border-left: 4px solid #FF68A2; }
.tm-group-item { margin-bottom: 20px; padding: 16px; background: #fafbfc; border-radius: 8px; }
.tm-group-item h4 { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 10px; }
.tm-group-item .group-desc { font-size: 13px; color: #888; margin-bottom: 10px; }
.tm-item-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-item-list span { display: inline-block; padding: 5px 12px; background: #fff; border: 1px solid #e5e9f0; border-radius: 4px; font-size: 13px; color: #555; transition: all .2s; }
.tm-item-list span:hover { border-color: #FF68A2; color: #FF68A2; }

/* ============ 商标要素搜索 ============ */
.tm-search-box { display: flex; gap: 12px; margin-bottom: 24px; }
.tm-search-box input { flex: 1; padding: 12px 16px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; }
.tm-search-box input:focus { outline: none; border-color: #FF68A2; }
.tm-search-results h3 { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 16px; }
.search-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.search-item { background: #fff8f8; border-radius: 8px; padding: 16px; border: 1px solid #FFE0EB; }
.search-item .search-code { font-size: 14px; font-weight: 600; color: #FF68A2; margin-bottom: 4px; }
.search-item .search-name { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 8px; }
.search-item .search-desc { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 12px; }
.search-item .search-link { display: inline-block; padding: 6px 14px; background: #FF68A2; color: #fff; border-radius: 4px; font-size: 13px; text-decoration: none; }
.search-item .search-link:hover { background: #ff4480; }
.tm-search-tips h3 { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 12px; }
.tm-search-tips p { font-size: 14px; color: #666; margin-bottom: 20px; }
.tips-list { background: #fff8f8; border-radius: 8px; padding: 20px; }
.tip-item { font-size: 14px; color: #666; padding: 8px 0; }

/* ============ 行业分类查询 ============ */
.tm-industry-intro h3 { font-size: 20px; font-weight: 700; color: #1a2233; margin-bottom: 10px; }
.tm-industry-intro p { font-size: 14px; color: #666; margin-bottom: 24px; }
.tm-industry-groups { margin-bottom: 24px; }
.industry-group { background: linear-gradient(135deg, #fafbfc, #f5f7fa); border-radius: 12px; padding: 24px; margin-bottom: 20px; border: 1px solid #f0f2f5; }
.industry-group:hover { border-color: #FF68A2; box-shadow: 0 4px 16px rgba(255,104,162,.08); }
.industry-group-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #e5e9f0; }
.industry-icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #FF68A2, #FFA5C8); color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(255,104,162,.3); }
.industry-group-header h4 { font-size: 19px; font-weight: 700; color: #1a2233; margin: 0; }
.industry-section { margin-bottom: 16px; }
.industry-section:last-child { margin-bottom: 0; }
.section-label { font-size: 14px; font-weight: 600; color: #666; margin-right: 12px; }
.section-label.core { color: #FF68A2; }
.section-label.related { color: #888; }
.category-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: all .25s; font-size: 14px; }
.tag-item.tag-core { background: #FFE8F0; color: #FF68A2; border: 1px solid #FFE0EB; }
.tag-item.tag-core:hover { background: #FF68A2; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,104,162,.3); }
.tag-item.tag-core:hover .tag-code, .tag-item.tag-core:hover .tag-name { color: #fff; }
.tag-item.tag-related { background: #fff; color: #666; border: 1px solid #e5e9f0; }
.tag-item.tag-related:hover { background: #FFF0F5; color: #FF68A2; border-color: #FFE0EB; }
.tag-code { font-size: 15px; font-weight: 700; }
.tag-name { font-size: 14px; }
.tm-industry-notice { background: #FFF0F5; border-radius: 10px; padding: 20px; font-size: 13px; color: #FF68A2; border: 1px solid #FFE0EB; }
.tm-industry-notice p { margin-bottom: 8px; line-height: 1.9; }
.tm-industry-notice p:last-child { margin-bottom: 0; }

/* ============ 新闻公告 ============ */
.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.news-block { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #f0f2f5; }
.news-block .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #f0f2f5; position: relative; }
.news-block .hd::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: #FF68A2; border-radius: 1px; }
.news-block .hd h3 { font-size: 18px; font-weight: 600; color: #1a2233; }
.news-block .hd a { font-size: 13px; color: #888; padding: 4px 12px; border-radius: 12px; transition: all .2s; }
.news-block .hd a:hover { color: #FF68A2; background: #FFF0F5; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; transition: background .2s; }
.news-list li:hover { background: #fafbfc; padding: 8px 12px; margin: 0 -12px; border-radius: 6px; }
.news-list li .t { flex: 1; font-size: 14px; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list li .t:hover { color: #FF68A2; }
.news-list li .d { font-size: 12px; color: #999; margin-left: 16px; flex-shrink: 0; }

/* ============ 企业优势 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; background: #fff; padding: 32px 24px; border-radius: 12px; border: 1px solid #f0f2f5; transition: all .3s; }
.adv-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); border-color: #FFE0EB; }
.adv-item .icon { width: 68px; height: 68px; margin: 0 auto 18px; background: linear-gradient(135deg, #FFF0F5, #FFE8F0); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #FF68A2; font-weight: 700; transition: all .3s; }
.adv-item:hover .icon { background: linear-gradient(135deg, #FF68A2, #FFA5C8); color: #fff; transform: scale(1.05); }
.adv-item h3 { font-size: 17px; font-weight: 600; color: #1a2233; margin-bottom: 10px; }
.adv-item p { font-size: 14px; color: #777; line-height: 1.7; }

/* ============ 合作伙伴 ============ */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-item { height: 80px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.partner-item img { max-height: 50px; max-width: 100%; }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination li a, .pagination li span { display: inline-block; padding: 8px 14px; border: 1px solid #e5e9f0; border-radius: 4px; font-size: 14px; color: #666; }
.pagination li.active span { background: #FF68A2; color: #fff; border-color: #FF68A2; }
.pagination li.disabled span { color: #ccc; background: #f9f9f9; }

/* ============ 页脚 ============ */
.footer { background: #FF68A2; color: #fff; padding: 20px 0; margin-top: 40px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 15px; gap: 10px; }
.footer-links-title { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
.footer-links-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-links-list a { display: inline-block; color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.2); padding: 6px 18px; border-radius: 20px; transition: all .3s; }
.footer-links-list a:hover { color: #34A7F3; background: #fff; transform: translateY(-1px); }
.footer-bottom { text-align: center; padding-bottom: 5px; font-size: 15px; color: #fff; font-weight: 500; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { color: #fff; opacity: .8; }
.footer-records { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 15px; }
.record-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer .record-item { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; text-decoration: none; font-size: 13px; transition: opacity .3s; padding: 6px 8px; }
.footer .record-item span { color: #fff !important; }
.footer .record-item a { color: #fff !important; text-decoration: none; }
.footer .record-item a:hover { color: #fff !important; opacity: .8; }
.footer .record-item:hover { opacity: .8; }
.footer .record-icon { width: 16px; height: 16px; object-fit: contain; }

/* ============ 浮动客服 ============ */
.float-service { position: fixed; right: 16px; bottom: 80px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.float-service a { width: 50px; height: 50px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.fs-cs { background: #FF68A2; }
.fs-cs:hover { background: #ff4480; }
.fs-top { background: #34A7F3; cursor: pointer; }
.fs-top:hover { background: #2a8ae6; }

/* ============ 页面Banner ============ */
.page-banner { height: 180px; background: linear-gradient(135deg, #FF68A2, #FFA5C8); display: flex; align-items: center; justify-content: center; }
.page-banner h1 { font-size: 28px; color: #fff; font-weight: 600; }

/* ============ 内容框 ============ */
.content-box { background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 20px; }

/* ============ 登录/注册页 ============ */
.form-page { display: flex; min-height: calc(100vh - 70px); }
.form-page .left { width: 55%; background: linear-gradient(135deg, #34A7F3, #2a8ae6); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; color: #fff; }
.form-page .left h2 { font-size: 32px; margin-bottom: 12px; font-weight: 700; }
.form-page .left p { font-size: 15px; opacity: .9; text-align: center; line-height: 1.8; margin-bottom: 28px; }
.form-page .right { width: 45%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.form-card { width: 100%; max-width: 400px; }
.form-card .form-header { text-align: center; margin-bottom: 32px; }
.form-card .form-header h3 { font-size: 24px; margin-bottom: 8px; color: #1a2233; font-weight: 600; }
.form-card .form-header .sub { text-align: center; color: #888; font-size: 14px; margin-bottom: 0; margin-top: 0; }
.form-card .extra { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }
.form-card .extra a { color: #FF68A2; }
.captcha-row { display: flex; gap: 10px; align-items: flex-start; }
.captcha-row .form-control { flex: 1; }
.captcha-row img { height: 42px; border-radius: 4px; cursor: pointer; }
.sendcode-btn { height: 42px; white-space: nowrap; }

/* 输入框组 */
.input-group { display: flex; gap: 10px; align-items: center; }
.input-group .form-control { flex: 1; }

/* 登录注册左侧列表 */
.form-page .left ul { list-style: none; margin-top: 0; }
.form-page .left ul li { padding: 10px 0; font-size: 15px; opacity: .9; display: flex; align-items: center; gap: 10px; }
.form-page .left ul li::before { content: '✓'; color: rgba(255,255,255,.8); font-weight: 700; font-size: 16px; }
.form-page .right .sub { display: none; }

/* ============ 面包屑导航 ============ */
.breadcrumb { background: #fff; padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.breadcrumb .wrap { font-size: 13px; color: #888; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #FF68A2; }

/* ============ 文章内容 ============ */
.article-content { font-size: 15px; line-height: 2; color: #333; }
.article-content img { max-width: 100%; height: auto; }
.article-content p { margin-bottom: 16px; }

/* ============ 联系页面网格 ============ */
.inner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.inner-grid > div { padding: 10px 0; }

/* ============ 用户中心布局 ============ */
.uc-layout { display: flex; gap: 20px; padding: 20px 0; }
.uc-side { width: 220px; background: #fff; border-radius: 8px; padding: 0; flex-shrink: 0; overflow: hidden; }
.uc-side .hd { padding: 24px 20px; background: linear-gradient(135deg, #34A7F3, #2a8ae6); color: #fff; text-align: center; }
.uc-side .hd .av { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #34A7F3; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.uc-side .hd .nm { font-size: 16px; font-weight: 600; }
.uc-side .menu { padding: 10px 0; }
.uc-side .menu a { display: block; padding: 12px 20px; font-size: 14px; color: #555; border-left: 3px solid transparent; }
.uc-side .menu a:hover, .uc-side .menu a.active { color: #FF68A2; background: #FFF0F5; border-left-color: #FF68A2; }
.uc-main { flex: 1; background: #fff; border-radius: 8px; padding: 24px; min-width: 0; }
.uc-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #e5e9f0; }
.info-block { margin-bottom: 24px; }
.info-block h4 { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #f0f2f5; }
.info-block .img-box { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.info-block .img-box img { width: 120px; height: 120px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; background: #fafafa; }
.info-block .img-box .item { text-align: center; }
.info-block .img-box .item p { margin-top: 6px; font-size: 12px; color: #888; }

/* ============ 筛选栏 ============ */
.filter-bar { background: #f8fafc; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.filter-bar .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-bar label { font-size: 13px; color: #666; white-space: nowrap; }
.filter-bar .form-control { max-width: 200px; padding: 7px 10px; font-size: 13px; }

/* ============ 数据表格 ============ */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: #f8fafc; font-weight: 600; color: #666; padding: 12px; text-align: left; border-bottom: 1px solid #e5e9f0; }
.data-table td { padding: 12px; text-align: left; border-bottom: 1px solid #f0f2f5; }
.data-table tr:hover td { background: #FFF0F5; }
.tm-thumb { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }

/* ============ 状态标签 ============ */
.status-tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.status-tag.s-green { background: #e6f9ec; color: #52c41a; }
.status-tag.s-pink { background: #FFE8F0; color: #FF68A2; }
.status-tag.s-orange { background: #fff8e6; color: #e2932d; }
.status-tag.s-blue { background: #e6f0ff; color: #34A7F3; }
.status-tag.s-gray { background: #f0f2f5; color: #888; }

/* ============ 阶段进度条（带track） ============ */
.stage-bar { padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid #eef1f5; }
.stage-bar .track { display: flex; justify-content: space-between; position: relative; }
.stage-bar .track::before { content: ''; position: absolute; top: 12px; left: 10%; right: 10%; height: 2px; background: #e5e9f0; z-index: 0; }
.stage-bar .node { text-align: center; flex: 1; position: relative; z-index: 1; }
.stage-bar .node .dot { width: 26px; height: 26px; border-radius: 50%; background: #e5e9f0; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #999; font-weight: 600; }
.stage-bar .node.current .dot { background: #FF68A2; color: #fff; box-shadow: 0 0 0 4px rgba(255,104,162,.2); }
.stage-bar .node.done .dot { background: #52c41a; color: #fff; }
.stage-bar .node .nm { font-size: 12px; color: #888; }
.stage-bar .node.current .nm { color: #FF68A2; font-weight: 600; }
.stage-bar .node.done .nm { color: #52c41a; }

/* ============ 时间轴（用户中心版本） ============ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: #e5e9f0; }
.tl-item { position: relative; padding: 14px 0; }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #e5e9f0; border: 2px solid #fff; box-shadow: 0 0 0 1px #e5e9f0; }
.tl-item.latest::before { background: #FF68A2; box-shadow: 0 0 0 3px rgba(255,104,162,.2); }
.tl-item .time { font-size: 12px; color: #999; margin-bottom: 4px; }
.tl-item .name { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
.tl-item.latest .name { color: #FF68A2; }
.tl-item .desc { font-size: 13px; color: #666; line-height: 1.6; }
.tl-item .file { margin-top: 6px; font-size: 13px; }
.tl-item .file a { color: #FF68A2; }

/* ============ 详情网格 ============ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-grid > div { display: flex; flex-direction: column; gap: 16px; }

/* ============ 信息字段 ============ */
.field { display: flex; padding: 8px 0; border-bottom: 1px dashed #f0f2f5; font-size: 14px; }
.field:last-child { border-bottom: none; }
.field .k { width: 100px; color: #888; flex-shrink: 0; }
.field .v { flex: 1; color: #333; word-break: break-all; }

/* ============ 警告提示 ============ */
.alert-tips { background: #FFF0F5; border: 1px solid #FFE0EB; border-radius: 6px; padding: 12px 16px; color: #FF68A2; font-size: 13px; margin-bottom: 16px; }

/* ============ 通用标签 ============ */
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; }
.tag-pink { background: #FFE8F0; color: #FF68A2; }
.tag-orange { background: #fff8e6; color: #b06b00; }
.tag-green { background: #f0fff4; color: #52c41a; }
.tag-blue { background: #e6f0ff; color: #34A7F3; }

/* ============ 通用表格（简版） ============ */
.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 600px; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid #e5e9f0; }
.table th { background: #f8fafc; font-weight: 600; color: #666; }
.table tr:hover { background: #FFF0F5; }

/* ============ 通用筛选 ============ */
.filter { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: flex-end; }
.filter .form-group { margin-bottom: 0; flex: 1; min-width: 150px; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info { background: #fff; padding: 24px; border-radius: 8px; }
.contact-info h3 { font-size: 18px; margin-bottom: 16px; }
.contact-info .item { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.contact-info .item .ico { width: 40px; height: 40px; background: #FFF0F5; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FF68A2; font-size: 18px; flex-shrink: 0; }
.contact-info .item .txt h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info .item .txt p { font-size: 14px; color: #666; }

/* ============ 联系卡片网格 ============ */
.contact-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: linear-gradient(135deg, #fff8f8, #FFF0F5); border-radius: 12px; padding: 28px 20px; text-align: center; transition: all .3s; border: 1px solid #FFE0EB; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,104,162,.1); }
.contact-card .cc-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card .cc-title { font-size: 14px; color: #888; margin-bottom: 8px; }
.contact-card .cc-value { font-size: 16px; color: #333; font-weight: 600; text-decoration: none; }
.contact-card .cc-value:hover { color: #FF68A2; }
.contact-left { flex: 1; }
.contact-right { width: 320px; flex-shrink: 0; }
.contact-layout { display: flex; gap: 30px; }
.qr-box { display: inline-block; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* ============ 文章详情 ============ */
.article-detail { background: #fff; border-radius: 8px; padding: 30px; }
.article-detail h1 { font-size: 24px; text-align: center; margin-bottom: 12px; }
.article-detail .meta { text-align: center; color: #999; font-size: 13px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.article-detail .content { font-size: 15px; line-height: 2; color: #333; }
.article-detail .content img { max-width: 100%; height: 50%; }

/* ============ 案件详情（旧版兼容） ============ */
.case-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-info-block { background: #fff; border-radius: 8px; padding: 20px; }
.case-info-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.case-info-block .info-row { display: flex; margin-bottom: 10px; font-size: 14px; }
.case-info-block .info-row .label { color: #888; width: 100px; flex-shrink: 0; }
.case-info-block .info-row .value { color: #333; flex: 1; }
.case-trademark-img { text-align: center; }
.case-trademark-img img { max-width: 200px; max-height: 200px; border: 1px solid #eee; border-radius: 4px; background: #fafafa; }

/* ============ 商标价格页面 ============ */
.price-page { padding: 40px 0; }
.price-mobile { display: none; }

/* 电脑版表格 */
.price-pc { display: block; }
.price-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 700px; border-collapse: collapse; border: 1px solid #e5e9f0; border-radius: 8px; overflow: hidden; background: #fff; }
.price-table .price-th { background: linear-gradient(135deg, #34A7F3, #2a8ae6); color: #fff; font-weight: 600; padding: 14px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.2); font-size: 14px; white-space: nowrap; }
.price-table .price-th:last-child { border-right: none; }
.price-table .price-td { padding: 14px 12px; text-align: center; border-right: 1px solid #e5e9f0; border-bottom: 1px solid #e5e9f0; font-size: 14px; color: #555; }
.price-table .price-td:last-child { border-right: none; }
.price-table .price-data-row:last-child .price-td { border-bottom: none; }
.price-table .price-data-row:hover .price-td { background: #FFF0F5; }
.price-table .price-td.price-name { font-weight: 600; color: #333; }
.price-table .price-td.price-value { font-weight: 700; color: #FF68A2; font-size: 16px; }

/* 手机版卡片 */
.price-card { background: #fff; border: 1px solid #FFE0EB; border-radius: 12px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(255,104,162,.06); }
.price-card-hd { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(135deg, #FFF0F5, #FFF5F8); border-bottom: 1px solid #FFE0EB; }
.price-card-name { font-size: 16px; font-weight: 600; color: #333; }
.price-card-value { font-size: 18px; font-weight: 700; color: #FF68A2; }
.price-card-bd { padding: 8px 16px; }
.price-card-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
.price-card-row:last-child { border-bottom: none; }
.price-card-row .lbl { color: #888; flex-shrink: 0; min-width: 70px; }
.price-card-row .val { color: #333; text-align: right; flex: 1; padding-left: 12px; word-break: break-all; }

/* ============ 响应式 ============ */
@media (max-width: 1240px) {
  .wrap { width: 96%; }
  .service-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  }

@media (max-width: 1024px) {
  .banner { height: 360px; }
  .form-page { flex-direction: column; }
  .form-page .left { width: 100%; padding: 40px 20px; }
  .form-page .right { width: 100%; }
  .case-detail-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { flex-direction: column; gap: 20px; }
  .contact-right { width: 100%; flex-shrink: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .price-pc { display: none; }
  .price-mobile { display: block; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 999; }
  .nav.show { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid #f0f0f0; }
  .nav a { height: 48px; line-height: 48px; padding: 0 20px; }
  .nav li.active a::after { display: none; }
  .nav .mobile-only { display: block; }
  .nav .mobile-only:last-child { border-bottom: none; }
  .header-right .nav-toggle { display: block; }
  .header-right .btn { display: none; }
  .service-grid, .adv-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { flex-wrap: nowrap; }
  .step-item { padding: 0 10px; flex: 1; }
  .step-item::after { display: none; }
  .step-item .num { width: 40px; height: 40px; font-size: 16px; }
  .step-item h4 { font-size: 13px; }
  .step-item p { font-size: 11px; }
  .news-layout { grid-template-columns: 1fr; }
  .uc-layout { flex-direction: column; }
  .uc-side { width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
  .table-wrap { overflow-x: auto; }
  .stage-bar .node .nm { font-size: 11px; }
  .tm-class-sidebar { display: none; }
  .inner-grid { grid-template-columns: 1fr; }
  .contact-card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-right { width: 100%; }
  .tm-class-container { flex-direction: column; }
  .tm-tabs { flex-direction: column; }
  .search-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-group-header h4 { font-size: 15px; }
  .industry-icon { width: 36px; height: 36px; font-size: 16px; }
}

@media (max-width: 480px) {
  .wrap { width: 94%; }
  .topbar { font-size: 11px; height: auto; line-height: 28px; padding: 4px 0; }
  .topbar .welcome, .topbar .topright { float: none; text-align: center; }
  .header .wrap { height: 56px; }
  .logo .name { font-size: 16px; }
  .logo img { height: 32px; }
  .banner { height: 200px; }
  .banner .slide .txt h2 { font-size: 22px; }
  .banner .slide .txt p { font-size: 13px; margin-bottom: 12px; }
  .banner .arrow { width: 28px; height: 36px; font-size: 18px; }
  .section { padding: 30px 0; }
  .sec-title h2 { font-size: 20px; }
  .service-card { padding: 20px 16px; }
  .page-banner { height: 100px; }
  .page-banner h1 { font-size: 20px; }
  .content-box { padding: 16px; }
  .form-page .right { padding: 20px 16px; }
  .uc-main { padding: 16px; }
  .case-info-block { padding: 16px; }
  .info-block .img-box img { width: 80px; height: 80px; }
  .float-service { right: 8px; bottom: 60px; }
  .float-service a { width: 42px; height: 42px; font-size: 18px; }
  .footer .record-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card-grid { grid-template-columns: 1fr; }
  .stage-bar .node .nm { display: none; }
  .stage-bar .node.current .nm { display: block; font-size: 11px; }
}
