/* 彻底重置，背景纯白，主色黑白风格，所有橙色元素替换为黑色/深灰 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            min-height: 100vh;
        }

        /* ---------- 100%宽度导航栏，纯白背景，黑色细节 ---------- */
        .navbar {
            width: 100%;
            background: #ffffff;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
            border-bottom: 1px solid #f0f0f0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
            width: 100%;
        }

        /* 左侧区域包裹Logo和导航链接，让导航紧跟Logo后面（不居中） */
        .nav-left {
            display: flex;
            align-items: center;
            gap: 2rem;
            flex-wrap: nowrap;
        }

        /* Logo 样式 — 黑色主题 */
        .logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: opacity 0.2s;
        }
        .logo-area:hover {
            opacity: 0.8;
        }
        .logo-icon {
            font-size: 28px;
            color: #1a1a1a;   /* 黑色系 */
        }
        .logo-text {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.2px;
        }

        /* 导航链接容器 — 紧跟在Logo后面 */
        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        .nav-links a {
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            color: #2c3e50;
            transition: color 0.2s;
            padding: 6px 0;
            position: relative;
        }
        .nav-links a:hover {
            color: #000000;   /* 黑色悬停 */
        }
        /* 下划线黑色效果 */
        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0%;
            height: 2px;
            background: #000000;
            border-radius: 2px;
            transition: width 0.2s ease;
        }
        .nav-links a:hover:after {
            width: 100%;
        }

        /* 右侧区域：只有头像图标，没有「登录」文字 */
        .nav-right {
            display: flex;
            align-items: center;
        }
        .avatar-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 6px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            color: #2c3e50;
        }
        .avatar-btn i {
            font-size: 28px;
            color: #1a1a1a;   /* 黑色头像图标 */
            transition: transform 0.2s, color 0.2s;
        }
        .avatar-btn:hover {
            transform: scale(1.02);
        }
        .avatar-btn:hover i {
            color: #000000;
            text-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

        /* 用户菜单样式 */
        .user-menu {
            position: relative;
            display: inline-block;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }

        .user-avatar {
            font-size: 20px;
            color: #1a1a1a;
        }

        .user-info:hover {
            background-color: #f0f0f0;
        }

        .user-id {
            font-size: 14px;
            color: #666;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            min-width: 120px;
            margin-top: 8px;
            z-index: 1000;
            display: none;
        }

        .dropdown-menu.show {
            display: block;
        }

        .dropdown-item {
            display: block;
            padding: 8px 12px;
            color: #666;
            text-decoration: none;
            font-size: 14px;
            transition: background-color 0.3s ease;
        }

        .dropdown-item:hover {
            background-color: #f0f0f0;
            color: #1a1a1a;
        }

        .dropdown-item:last-child {
            border-top: 1px solid #e0e0e0;
            margin-top: 4px;
            padding-top: 8px;
        }

        /* 响应式 */
        @media (max-width: 680px) {
            .nav-container {
                padding: 0 18px;
            }
            .nav-left {
                gap: 1.2rem;
            }
            .nav-links {
                gap: 1.2rem;
            }
            .logo-text {
                font-size: 1.2rem;
            }
            .avatar-btn i {
                font-size: 26px;
            }
        }

        /* ---------- 登录弹窗模态框 (黑色调为主) ---------- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(6px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.2s, opacity 0.2s ease;
        }
        .modal-overlay.active {
            visibility: visible;
            opacity: 1;
        }
        .login-modal {
            background: white;
            width: 90%;
            max-width: 460px;
            border-radius: 32px;
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: scale(0.96);
            transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .modal-overlay.active .login-modal {
            transform: scale(1);
        }

        /* 模态框头部 — 黑色主题 */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 1.8rem;
            border-bottom: 1px solid #efefef;
            background: #ffffff;
        }
        .modal-header h3 {
            font-size: 1.45rem;
            font-weight: 600;
            color: #1a1a1a;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .modal-header h3 i {
            color: #1a1a1a;
        }
        .close-modal {
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: #9a9a9a;
            transition: 0.2s;
            line-height: 1;
        }
        .close-modal:hover {
            color: #000000;
        }

        /* Tab 切换样式 (黑色活跃) */
        .tabs {
            display: flex;
            padding: 0 1.8rem;
            gap: 2rem;
            border-bottom: 1px solid #efefef;
            background: #ffffff;
        }
        .tab-btn {
            font-size: 1rem;
            font-weight: 600;
            padding: 0.9rem 0 0.7rem;
            background: transparent;
            border: none;
            cursor: pointer;
            color: #6f6f78;
            transition: all 0.2s;
            position: relative;
        }
        .tab-btn.active {
            color: #000000;
        }
        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #000000;
            border-radius: 3px 3px 0 0;
        }
        .tab-btn:hover:not(.active) {
            color: #000000;
        }

        /* 表单区域 */
        .form-pane {
            padding: 1.8rem 1.8rem 2rem;
            display: none;
            animation: fadeIn 0.25s ease;
        }
        .form-pane.active-pane {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(6px);}
            to { opacity: 1; transform: translateY(0);}
        }

        .input-group {
            margin-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .input-group label {
            font-weight: 500;
            color: #3a4a4f;
            font-size: 0.85rem;
        }
        .input-wrapper {
            display: flex;
            align-items: center;
            border: 1px solid #e2ddd6;
            border-radius: 60px;
            background: #fefcf9;
            transition: 0.2s;
            padding: 0 16px;
        }
        .input-wrapper i {
            color: #4a4a4a;
            font-size: 1rem;
        }
        .input-wrapper input {
            width: 100%;
            padding: 12px 12px 12px 10px;
            border: none;
            background: transparent;
            font-size: 0.95rem;
            outline: none;
        }
        .input-wrapper:focus-within {
            border-color: #000000;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
        }

        /* 验证码行 发送按钮 — 黑色风格 */
        .captcha-row {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .captcha-row .input-wrapper {
            flex: 1;
        }
        .send-code-btn {
            background: #f7f7f7;
            border: 1px solid #dddddd;
            padding: 0 18px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.8rem;
            color: #1a1a1a;
            cursor: pointer;
            white-space: nowrap;
            height: 46px;
            transition: 0.2s;
        }
        .send-code-btn:hover:not(:disabled) {
            background: #1a1a1a;
            color: white;
            border-color: #1a1a1a;
        }
        .send-code-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* 登录按钮黑色 */
        .login-submit-btn {
            width: 100%;
            background: #1a1a1a;
            border: none;
            padding: 12px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1rem;
            color: white;
            margin-top: 0.5rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .login-submit-btn:hover {
            background: #000000;
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
        }

        /* 注册链接黑色 */
        .register-link {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.85rem;
            color: #6f5b4a;
        }
        .register-link a {
            color: #1a1a1a;
            text-decoration: none;
            font-weight: 600;
            margin-left: 6px;
            cursor: pointer;
        }
        .register-link a:hover {
            text-decoration: underline;
            color: #000000;
        }

        .error-msg {
            color: #e55c3e;
            font-size: 0.75rem;
            margin-top: 4px;
            padding-left: 12px;
        }

        /* toast 轻提示 */
        .success-toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) scale(0.9);
            background: #1a1a1ae6;
            backdrop-filter: blur(8px);
            color: #f5f5f5;
            padding: 10px 24px;
            border-radius: 60px;
            font-size: 0.9rem;
            z-index: 2100;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
            white-space: nowrap;
        }
        .success-toast.show {
            opacity: 1;
        }

        /* 背景图 */
        .hero-section {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #667eea 0%, #00d4aa 50%, #c471ed 100%);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .bt{
            width:100%;
            color:#333;
            text-align: center;
            padding-toP:120px;
            font-weight: bold;
            font-size:60px;
            letter-spacing:8px;    
        }
           .bt-a{
            width:100%;
            color:#333;
            text-align: center;
            padding-toP:20px;
            
            font-size:20px;
            letter-spacing:5px;    
        }
        /* 搜索框样式 */
        .search-box {
            width: 100%;
            max-width: 800px;
            margin: 30px auto 0;
            padding: 0 20px;
        }
        
        .search-input-wrapper {
            display: flex;
            align-items: center;
            background: #ffffff;
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid #e0e0e0;
            transition: box-shadow 0.3s;
        }
        
        .search-input-wrapper:hover {
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        }
        
        .search-input-wrapper i {
            padding: 0 15px;
            color: #999;
            font-size: 18px;
        }
        
        .search-input-wrapper input {
            flex: 1;
            border: none;
            outline: none;
            padding: 12px 10px;
            font-size: 16px;
            background: transparent;
        }
        
        .search-input-wrapper input::placeholder {
            color: #aaa;
        }
        
        .search-btn {
            background: #1a1a1a;
            color: #fff;
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .search-btn:hover {
            background: #333;
        }
        
        .zw{
            width:1400px;
            height:100%;
            margin:auto;
            margin-top:20px;
        }
        
        /* ========== 个人中心样式 ========== */
        .profile-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .profile-header {
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        .profile-info {
            display: flex;
            align-items: center;
            gap: 30px;
        }
        
        .avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: #6c757d;
        }
        
        .user-details h2 {
            margin: 0 0 10px 0;
            font-size: 24px;
            font-weight: 600;
            color: #1a1a1a;
        }
        
        .user-details p {
            margin: 5px 0;
            color: #6c757d;
        }
        
        .user-info-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 10px 0;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }
        
        .user-info-item:last-child {
            border-bottom: none;
        }
        
        .user-info-item i {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #e7f3ff;
            color: #007bff;
            border-radius: 50%;
            font-size: 14px;
        }
        
        .user-info-item span {
            color: #6c757d;
            font-size: 14px;
        }
        
        /* 会员信息高亮样式 */
        .member-type-highlight {
            color: #e74c3c;
            font-weight: 600;
        }
        
        .member-expire-highlight {
            color: #e74c3c;
            font-weight: 600;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .profile-container {
                padding: 20px 10px;
            }

            .profile-info {
                flex-direction: column;
                text-align: center;
            }
            .navbar{
                width:700px;
            }
            .zw{
                width:700px;
                margin:auto;
            }
            .section-title{
                width:700px;
            }
        }

        /* 权限页面样式 */
        .permission-page-body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: white;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .permission-card {
            background: white;
            text-align: center;
            max-width: 400px;
            width: 90%;
        }

        .permission-icon {
            font-size: 48px;
            color: #dc2626;
            margin-bottom: 15px;
        }

        .permission-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .permission-message {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .permission-btn {
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #3b82f6;
            color: white;
        }

        .permission-btn:hover {
            background: #2563eb;
        }
        
        /* 工具信息卡样式 */
        .tools-section {
            padding: 40px 0;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .tool-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            height: 380px;
            display: flex;
            flex-direction: column;
        }
        
        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }
        
        .tool-cover {
            width: 100%;
            height: 180px;
            overflow: hidden;
            background: #f8fafc;
            flex-shrink: 0;
        }
        
        .tool-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .tool-card:hover .tool-cover img {
            transform: scale(1.05);
        }
        
        .tool-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .tool-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .tool-description {
            font-size: 14px;
            color: #64748b;
            line-height: 1.5;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }
        
        .tool-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }
        
        .enter-btn {
            background: #000000;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .enter-btn:hover {
            background: #333333;
            transform: translateY(-1px);
        }
        

        
        .section-title {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .section-subtitle {
            font-size: 16px;
            color: #64748b;
            text-align: center;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .no-tools {
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
            font-size: 16px;
        }
        
        .no-tools i {
            font-size: 48px;
            color: #cbd5e1;
            margin-bottom: 20px;
            display: block;
        }
        
        @media (max-width: 1200px) {
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .tools-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .tools-section {
                padding: 30px 15px;
            }
        }
