/*
Theme Name: OPC 一人公司主题
Theme URI: https://www.o-p-c.cn
Author: OPC Team
Author URI: https://www.o-p-c.cn
Description: 一人公司实战教学平台主题，支持手机号登录、技能分享、用户中心等功能
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opc-theme
Tags: one-person-company, skills, education, membership
*/

/* ===== 简约现代风格 - Minimal Modern ===== */
:root {
    /* 主色 */
    --primary-color: #0066FF;
    --primary-hover: #0052CC;
    --primary-light: #E6F0FF;
    
    /* 文字颜色 */
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-light: #CCCCCC;
    
    /* 背景颜色 */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    --bg-hover: #F0F0F0;
    
    /* 边框颜色 */
    --border-color: #E5E5E5;
    --border-light: #F0F0F0;
    
    /* 状态颜色 */
    --success-color: #00C853;
    --error-color: #FF3D00;
    --warning-color: #FFA000;
    
    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.12);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 过渡 */
    --transition: all 0.2s ease;
}

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

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

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.site-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    min-height: 64px;
}

/* PC端隐藏移动端菜单按钮和菜单 */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.mobile-menu {
    display: none;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.site-logo:hover {
    color: var(--text-primary);
}

.site-logo .logo-image {
    max-height: 40px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--text-primary);
}

.user-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-points {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.user-points:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-light);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-primary);
    font-family: inherit;
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder {
    color: var(--text-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

/* ===== Hero区域 ===== */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Section标题 ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* ===== 技能卡片 ===== */
.skill-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

.skill-card-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skill-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-skill-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #F5F5F7 0%, #E8E8ED 100%);
}

.skill-card-content {
    padding: 20px;
}

.skill-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.skill-card-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.skill-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== 模态框 ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-tertiary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* 登录方式切换 */
.login-tabs {
    display: flex;
    margin-bottom: 28px;
    border-radius: 12px;
    background: #F5F5F7;
    padding: 4px;
    gap: 4px;
}

.login-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.login-tab:hover {
    color: #000;
}

.login-tab.active {
    color: #fff;
    background: #0066FF;
}

/* 输入框带按钮 */
.input-with-button {
    display: flex;
    gap: 12px;
}

.input-with-button .form-input {
    flex: 1;
}

.input-with-button .btn {
    white-space: nowrap;
}

/* 模态框底部 */
.modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #666;
}

.modal-footer a {
    color: #0066FF;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* ===== Alert提示 ===== */
.custom-alert {
    position: fixed;
    top: 80px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    animation: slideIn 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
}

.custom-alert.success {
    border-left-color: var(--success-color);
}

.custom-alert.error {
    border-left-color: var(--error-color);
}

.custom-alert.warning {
    border-left-color: var(--warning-color);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 64px 0 40px;
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ===== 标签页 ===== */
.dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 分类标签 ===== */
.category-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-tag:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.category-tag.active {
    background: var(--primary-color);
    color: white;
}

/* ===== 徽章 ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.badge-success {
    background: #E8F5E9;
    color: var(--success-color);
}

.badge-warning {
    background: #FFF3E0;
    color: var(--warning-color);
}

.badge-error {
    background: #FFEBEE;
    color: var(--error-color);
}

/* ===== 分页 ===== */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.pagination .page-numbers:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
}

/* ===== 响应式 - 知乎风格优化 ===== */
/* ===== 响应式 - 移动端优先 ===== */

/* ===== 平板和移动端 (≤768px) ===== */
@media (max-width: 768px) {
    /* 全局 */
    body {
        font-size: 15px;
        line-height: 1.7;
        -webkit-text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* ===== 导航栏 ===== */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 100;
    }
    
    .nav-wrapper {
        padding: 12px 0;
        min-height: 56px;
        position: relative;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 24px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }
    
    .hamburger-line {
        width: 100%;
        height: 2px;
        background: #1a1a1a;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* 隐藏PC端导航 */
    .main-nav {
        display: none;
    }
    
    /* Logo居中 */
    .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 17px;
        font-weight: 600;
    }
    
    .site-logo .logo-image {
        max-height: 32px;
    }
    
    /* 用户操作按钮 */
    .user-actions {
        gap: 8px;
    }
    
    .user-actions .btn {
        padding: 6px 14px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 20px;
    }
    
    .user-points {
        display: none;
    }
    
    /* ===== 移动端侧边菜单 ===== */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.08);
        flex-direction: column;
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .mobile-menu-title {
        font-size: 17px;
        font-weight: 600;
        color: #1a1a1a;
    }
    
    .mobile-menu-close {
        width: 32px;
        height: 32px;
        background: #f7f7f7;
        border: none;
        font-size: 24px;
        color: #8590a6;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-close:hover {
        background: #f0f0f0;
        color: #1a1a1a;
    }
    
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        padding: 0;
    }
    
    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-list li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .mobile-nav-list a {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 500;
        color: #1a1a1a;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    .mobile-nav-list a:hover {
        background: #f7f7f7;
        color: #0066FF;
    }
    
    /* ===== Hero区域 ===== */
    .hero-title {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 32px;
        opacity: 0.85;
    }
    
    .hero-content {
        padding: 48px 0;
    }
    
    /* 搜索框 */
    .search-box {
        flex-direction: row;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .search-box input {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 24px 0 0 24px;
    }
    
    .search-box button {
        padding: 14px 24px;
        border-radius: 0 24px 24px 0;
        font-size: 15px;
        font-weight: 500;
    }
    
    /* 分类标签 */
    .hero-categories {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 24px;
    }
    
    .hero-categories span {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .hero-tag {
        font-size: 13px;
        padding: 8px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* ===== 统计数据 ===== */
    .stats-section {
        padding: 40px 0;
        background: #f7f7f7;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 20px 12px;
        background: #fff;
        border-radius: 12px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 24px;
        font-weight: 600;
        color: #0066FF;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 12px;
        color: #8590a6;
    }
    
    /* ===== 价值观区域 ===== */
    .values-section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 24px;
        letter-spacing: -0.5px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .value-card {
        padding: 24px;
        background: #f7f7f7;
        border-radius: 12px;
    }
    
    .value-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .value-card h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1a1a1a;
    }
    
    .value-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
    }
    
    /* ===== 分类区域 ===== */
    .categories-section {
        padding: 48px 0;
        background: #f7f7f7;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-card {
        padding: 24px;
        background: #fff;
        border-radius: 12px;
    }
    
    .category-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .category-card h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .category-card p {
        font-size: 14px;
        color: #666;
        margin-bottom: 16px;
    }
    
    /* ===== 技能卡片 ===== */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .skill-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .skill-card-header {
        margin-bottom: 12px;
    }
    
    .skill-card-title {
        font-size: 17px;
        font-weight: 600;
    }
    
    .skill-card-meta {
        font-size: 13px;
    }
    
    .skill-card-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* ===== CTA区域 ===== */
    .cta-section {
        padding: 48px 0;
    }
    
    .cta-content h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .btn-lg {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    /* ===== 模态框 ===== */
    .modal-content {
        padding: 32px 24px;
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    .modal-ti

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .search-box {
        border-radius: 20px;
    }
    
    .search-box input {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 20px 0 0 20px;
    }
    
    .search-box button {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 0 20px 20px 0;
    }
    
    .stats-grid {
        gap: 8px;
    }
    
    .stat-item {
        padding: 16px 8px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .value-card {
        padding: 16px;
    }
    
    .value-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .value-card h3 {
        font-size: 15px;
    }
    
    .value-card p {
        font-size: 13px;
    }
    
    .skill-card-thumbnail {
        height: 160px;
    }
    
    .skill-card-title {
        font-size: 15px;
    }
    
    .skill-card-desc {
        font-size: 13px;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 11px 24px;
        font-size: 14px;
    }

    .mobile-nav-list a {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .modal-content {
        padding: 24px 20px;
        margin: 12px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .form-input {
        padding: 11px 14px;
        font-size: 14px;
    }
    
    .user-actions .btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ===== 选中文本 ===== */
::selection {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ===== 辅助类 ===== */
.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--text-secondary);
}

.text-tertiary {
    color: var(--text-tertiary);
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-8 {
    margin-bottom: 32px;
}
