/* 
 * 全局样式 - 橙色主题配色
 * 主色：#f97316 (橙色)
 * 辅色：#ea580c (深橙)
 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏的容器特殊处理 */
.top-header .container {
    max-width: 100%;
    padding: 0 30px;
}

/* 内页导航栏容器宽度限制 */
body.page-inner .top-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== 顶部导航栏 - 天工网深色风格 ===== */
.top-header {
    background: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

/* 内页白色导航栏 */
body.page-inner .top-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
    gap: 0;
}

/* 首页滚动时搜索框显示，调整布局为居中 */
body.page-home .header-content.search-active {
    justify-content: center;
}

body.page-home .header-content.search-active .site-logo {
    position: absolute;
    left: 0;
}

body.page-home .header-content.search-active .header-right {
    position: absolute;
    right: 0;
}

body.page-home .header-content.search-active .header-search-box {
    position: static;
    transform: none;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* 顶部搜索框（默认隐藏，首页滚动时显示） */
.header-search-box {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 首页搜索框默认隐藏 */
body.page-home .header-search-box {
    display: none;
    opacity: 0;
}

/* 内页搜索框常驻显示（左对齐，紧跟Logo） */
.header-search-box.header-search-inner {
    display: block;
    opacity: 1;
    flex: 0 0 auto;
    max-width: 600px;
    margin: 0 0 0 30px;
}

/* 当是内页时，调整header-content布局 */
body:not(.page-home) .header-content {
    justify-content: flex-start;
}

body:not(.page-home) .header-content .header-right {
    margin-left: auto;
}

.header-search-box.show {
    opacity: 1 !important;
}

/* 搜索按钮图标 */
.header-search-btn i {
    font-size: 16px;
    color: #999;
}

.header-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

/* 内页搜索框样式优化 */
.header-search-inner .header-search-wrapper {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

/* 内页白色导航栏的搜索框样式 */
body.page-inner .header-search-wrapper {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

body.page-inner .header-search-wrapper:focus-within {
    background: #fff;
    border-color: #f97316;
}

.header-search-wrapper:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    padding: 8px 15px;
    outline: none;
}

/* 内页搜索框输入文字颜色 */
body.page-inner .header-search-input {
    color: #1f2937;
}

.header-search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* 内页搜索框placeholder颜色 */
body.page-inner .header-search-input::placeholder {
    color: #9ca3af;
}

.header-search-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

/* 内页搜索按钮颜色 */
body.page-inner .header-search-btn {
    color: #6b7280;
}

.header-search-btn:hover {
    color: #ff6600;
}

/* 内页搜索按钮悬停颜色 */
body.page-inner .header-search-btn:hover {
    color: #f97316;
}

.header-search-btn svg {
    width: 18px;
    height: 18px;
}

/* Logo样式 */
.site-logo {
    flex-shrink: 0; /* 防止Logo被压缩 */
}

.site-logo a {
    display: block;
}

.logo-img {
    padding-top: 5px;
    height: 55px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: filter 0.3s ease;
}


/* 右侧区域 */
.header-right {
    display: flex;
    align-items: center;
    gap: 50px; /* 增大导航和按钮之间的间距 */
}

/* 导航菜单 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px; /* 增大导航项之间的间距 */
}

.nav-item {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    padding: 20px 0;
    position: relative;
    transition: all 0.3s;
}

/* 内页导航链接颜色 */
body.page-inner .nav-item {
    color: #1f2937;
}

.nav-item:hover,
.nav-item.active {
    color: #ff6600;
}

/* 内页导航链接悬停和激活颜色 */
body.page-inner .nav-item:hover,
body.page-inner .nav-item.active {
    color: #f97316;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ff6600;
}

/* 内页导航激活下划线颜色 */
body.page-inner .nav-item.active::after {
    background: #f97316;
}

/* 用户操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 登录/注册按钮 */
.btn-login-register {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255,102,0,0.3);
}

.btn-login-register:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    box-shadow: 0 4px 12px rgba(255,102,0,0.5);
    transform: translateY(-1px);
}

/* 已登录状态 - 图标 */
.header-icon {
    position: relative;
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    padding: 8px;
    transition: all 0.3s;
}

/* 内页用户图标颜色 */
body.page-inner .header-icon {
    color: #6b7280;
}

.header-icon:hover {
    color: #ff6600;
}

/* 内页用户图标悬停颜色 */
body.page-inner .header-icon:hover {
    color: #f97316;
}

.header-icon .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 用户菜单 */
.user-menu {
    position: relative;
}

.user-menu .user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 内页用户菜单触发器样式 */
body.page-inner .user-menu .user-trigger {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.user-menu .user-trigger:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

/* 内页用户菜单触发器悬停样式 */
body.page-inner .user-menu .user-trigger:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.user-menu .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user-menu .username {
    color: #fff;
    font-size: 13px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 内页用户名颜色 */
body.page-inner .user-menu .username {
    color: #1f2937;
}

.user-menu .arrow {
    color: rgba(255,255,255,0.6);
    font-size: 8px;
}

/* 内页箭头颜色 */
body.page-inner .user-menu .arrow {
    color: #6b7280;
}

/* 用户下拉菜单 */
.user-menu .user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 200px;
    z-index: 1001;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown .dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown .dropdown-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-dropdown .name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-dropdown .level {
    font-size: 12px;
    color: #ff6600;
}

.user-dropdown .dropdown-menu {
    padding: 8px 0;
}

.user-dropdown .dropdown-menu li {
    list-style: none;
}

.user-dropdown .dropdown-menu li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.user-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-size: 13px;
    transition: all 0.3s;
}

.user-dropdown .dropdown-menu a:hover {
    background: #fff7ed;
    color: #ff6600;
}

.user-dropdown .dropdown-menu a.highlight {
    color: #ff6600;
    font-weight: 500;
}

.user-dropdown .dropdown-menu a.logout {
    color: #ff0000;
}

/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
    top: 100%;
  left: 0;
    background: #fff;
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 12px;
    margin-top: 10px;
  opacity: 0;
      visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.dropdown-menu a:last-child {
    margin-bottom: 0;
}

.dropdown-menu a:hover {
    background: #fff7ed;
    transform: translateX(4px);
}

.dropdown-menu .menu-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.dropdown-menu .menu-content {
    flex: 1;
}

.dropdown-menu strong {
    display: block;
  font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 2px;
}

.dropdown-menu small {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

/* 全局搜索框 */
.header-search {
    position: relative;
    flex: 1;
    max-width: 450px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: #f97316;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.search-icon {
    color: #94a3b8;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
  font-size: 14px;
    color: #1e293b;
    outline: none;
    padding: 0;
}

.search-input::placeholder {
    color: #cbd5e1;
}

.search-btn-submit {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.search-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 搜索建议下拉 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 15px;
    margin-top: 10px;
    z-index: 1000;
}

.suggestions-section {
    margin-bottom: 15px;
}

.suggestions-section:last-child {
    margin-bottom: 0;
}

.suggestions-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.suggestions-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-tag {
    padding: 5px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: #fff7ed;
    color: #f97316;
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestions-list li {
    margin-bottom: 5px;
}

.suggestions-list a {
  display: block;
    padding: 8px 10px;
    color: #475569;
  font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.suggestions-list a:hover {
    background: #f8fafc;
    color: #f97316;
}

/* 右侧操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    position: relative;
}

.action-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.3s ease;
}

.action-link:hover {
    background: #f8fafc;
    color: #f97316;
}

/* 消息通知 */
.notification-badge,
.favorite-count {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-count {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* 登录/注册按钮 */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 20px;
  font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    color: #64748b;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.btn-login:hover {
    color: #f97316;
    border-color: #f97316;
    background: #fff7ed;
}

.btn-register {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
  border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 用户下拉菜单 */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-trigger:hover {
    background: #fff;
    border-color: #f97316;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.dropdown-arrow {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 用户菜单 */
.user-menu {
  position: absolute;
    top: 100%;
  right: 0;
    background: #fff;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0;
    margin-top: 10px;
  opacity: 0;
      visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  object-fit: cover;
}

.menu-user-info {
    flex: 1;
}

.menu-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.menu-user-plan {
  font-size: 12px;
    color: #64748b;
}

.user-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.user-menu-list li {
    margin: 0;
}

.user-menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #475569;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-menu-list a:hover {
    background: #f8fafc;
    color: #f97316;
}

.user-menu-list svg {
    color: #94a3b8;
}

.user-menu-list a:hover svg {
    color: #f97316;
}

.menu-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0;
}

.logout-link {
    color: #ef4444 !important;
}

.logout-link:hover {
    background: #fef2f2 !important;
}

/* 统一页面头部 */
.page-header-section {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 80px 0 60px;
    text-align: center;
  overflow: hidden;
}

.page-header-section::before {
    content: '';
  position: absolute;
    top: 0;
    left: 0;
  right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.page-header-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.page-header-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header-breadcrumb a:hover {
    color: #f97316;
}

.page-header-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* 独立面包屑导航 */
.breadcrumb-section {
    background: #f8fafc;
  padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb-nav a {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #f97316;
}

.breadcrumb-nav span {
    color: #cbd5e1;
}

.breadcrumb-nav span:last-child {
    color: #64748b;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: #94a3b8;
  margin-top: 0;
}

/* 页脚主要内容 */
.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

/* 页脚栏目 */
.footer-col {
    
}

.footer-title {
  color: #fff;
  font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* 关于我们栏目 */
.footer-about {
    
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-logo span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.footer-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-item strong {
    color: #f97316;
    font-size: 20px;
    font-weight: 700;
}

.stat-item span {
    font-size: 12px;
    color: #94a3b8;
}


/* 联系我们 - 上下布局 */
.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.contact-info a,
.contact-info span {
    color: #f97316;
    font-size: 15px;
    font-weight: 500;
}

.contact-info a:hover {
    color: #fb923c;
}


/* 底部版权 */
.footer-bottom {
    padding: 25px 0;
    background: rgba(0,0,0,0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    flex: 1;
}

.copyright p {
    margin: 5px 0;
    font-size: 13px;
    color: #94a3b8;
}

.copyright a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.copyright a:hover {
  color: #fff;
}

.divider {
    margin: 0 10px;
    color: #475569;
}

/* 公安备案图标 */
.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 认证徽章 */
.footer-badges {
    display: flex;
    gap: 15px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    text-decoration: none;
  transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255,255,255,0.1);
}

.badge-item span {
    font-size: 18px;
}

.badge-item small {
    font-size: 11px;
    color: #94a3b8;
}

/* 表单通用样式 */
.form-control {
  width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
  font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
  font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-block {
    width: 100%;
  display: block;
}

/* 响应式 */
@media (max-width: 1200px) {
    .container {
  width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 联系我们单列显示 */
    .footer-contact-grid {
        gap: 12px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .top-info {
        flex-direction: column;
        gap: 5px;
  text-align: center;
    }
    
    /* 页面头部响应式 */
    .page-header-section {
        padding: 60px 0 40px;
    }
    
    .page-header-title {
        font-size: 32px;
    }
    
    .page-header-subtitle {
        font-size: 16px;
    }
    
    .page-header-breadcrumb {
        flex-wrap: wrap;
    }
    
    /* 底部响应式 */
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-stats {
        flex-wrap: wrap;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
  text-align: center;
    }
    
    .copyright p {
        margin: 8px 0;
    }
    
    .footer-badges {
  justify-content: center;
}
}

/* ===== 右侧悬浮按钮组 ===== */
.float-action-buttons {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
  width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #6b7280;
    position: relative;
}

.float-btn i {
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.float-btn:hover i {
    color: #ff6600;
    transform: scale(1.1);
}

.float-btn:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,102,0,0.3);
}

.float-btn svg {
    width: 20px;
    height: 20px;
}

/* 返回顶部按钮 */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 悬浮按钮文字标签 */
.float-btn-badge {
    position: absolute;
    right: 60px;
    background: #1f2937;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
  visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.float-btn-badge::after {
    content: '';
  position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1f2937;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.float-btn:hover .float-btn-badge {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* 微信二维码弹出层 */
.qr-popup {
  position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.wechat-qr:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

.qr-popup-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
  min-width: 200px;
}

.qr-popup-content img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.qr-popup-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.qr-popup::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* 悬浮按钮动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.float-btn.customer-service {
    animation: float 3s ease-in-out infinite;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .float-action-buttons {
        right: 15px;
        bottom: 80px;
        gap: 10px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
    }
    
    .float-btn-badge,
    .qr-popup {
        display: none;
    }
}
