:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --bg-light: #f8f9fa;
    --bg-gray: #f1f3f4;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border: #dadce0;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 导航栏 */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
    max-width: 100%;
}

.logo a img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-links a:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.nav-links a.active {
    background: var(--primary);
    color: var(--white);
}

/* 搜索 */
.search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-gray);
    border-radius: 24px;
    padding: 0 16px;
    height: 40px;
    margin-left: auto;
    transition: all 0.2s;
}

.search-box:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.search-box button:hover {
    color: var(--primary);
}

/* 语言选择器 */
.lang-selector {
    position: relative;
}

.lang-selector .current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-selector .current:hover {
    background: var(--bg-gray);
}

.lang-selector .current svg {
    width: 16px;
    height: 16px;
}

.lang-selector .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
}

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

.lang-selector .dropdown div {
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.lang-selector .dropdown div:hover {
    background: var(--bg-light);
}

.lang-selector .dropdown div:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.lang-selector .dropdown div:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

/* 移动端操作按钮容器 */
.mobile-actions {
    display: none;
}

/* 移动端搜索按钮 */
.mobile-search-btn,
.mobile-lang-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.2s;
}

.mobile-search-btn:hover,
.mobile-lang-btn:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s;
}

.menu-btn span::before {
    content: '';
    top: -6px;
}

.menu-btn span::after {
    content: '';
    top: 6px;
}

.menu-btn.active span {
    background: transparent;
}

.menu-btn.active span::before {
    top: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-btn.active span::after {
    top: 0;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header span {
    font-size: 16px;
    font-weight: 600;
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: var(--bg-gray);
}

.mobile-nav {
    padding: 16px 0;
    flex: 1;
}

.mobile-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.15s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
}

.mobile-lang {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-gray);
}

.mobile-lang-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.mobile-lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-lang-grid div {
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    background: var(--white);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
}

.mobile-lang-grid div:hover,
.mobile-lang-grid div.active {
    background: var(--primary);
    color: var(--white);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* 区块通用 */
.section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.section-header a {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

/* 资讯文章列表 */
.news-section {
    background: var(--white);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-card.featured {
    display: flex;
    flex-direction: row;
    border: none;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-card.featured .news-info {
    color: var(--white);
}

.news-card.featured .news-info h3 {
    font-size: 20px;
    line-height: 1.4;
}

.news-card.featured .news-info p {
    color: rgba(255,255,255,0.85);
}

.news-card.featured .news-tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.news-card.featured .news-meta {
    color: rgba(255,255,255,0.7);
}

.news-img {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.news-card.featured .news-img {
    width: 350px;
}

.news-card.featured .news-img img {
    height: 220px;
}

.news-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26,115,232,0.1);
    border-radius: 4px;
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1;
}

.news-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 内容页面 */
.content-page {
    padding: 32px 0;
    min-height: calc(100vh - 180px);
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.category-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* 资讯文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.article-item {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.article-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.article-item-img {
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
}

.article-item-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.article-item-info {
    padding: 20px;
    flex: 1;
}

.article-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-item-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 教程列表 */
.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.tutorial-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.2s;
    border-left: 4px solid var(--primary);
}

.tutorial-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.tutorial-item-icon {
    font-size: 36px;
    margin-right: 16px;
    flex-shrink: 0;
}

.tutorial-item-info {
    flex: 1;
}

.tutorial-item-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tutorial-item-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tutorial-item-tags {
    display: flex;
    gap: 8px;
}

.tutorial-item-tags span {
    padding: 3px 10px;
    font-size: 11px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-secondary);
}

.tutorial-item-tags span.level {
    background: rgba(26,115,232,0.1);
    color: var(--primary);
}

.tutorial-item-tags span.level.intermediate {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
}

.tutorial-item-tags span.level.advanced {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

.start-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.start-btn:hover {
    background: var(--primary-dark);
}

/* APP列表 */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.app-item {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

.app-item:hover {
    box-shadow: var(--shadow-md);
}

.app-item-icon {
    font-size: 48px;
    margin-right: 20px;
    flex-shrink: 0;
}

.app-item-info {
    flex: 1;
}

.app-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.app-item-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.app-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.app-meta .rating {
    color: #fbbc04;
}

.app-changelog {
    background: var(--bg-gray);
    padding: 12px;
    border-radius: 8px;
}

.app-changelog h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.app-changelog ul {
    margin: 0;
    padding-left: 20px;
}

.app-changelog li {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.app-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* 软件列表 */
.software-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.software-item {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

.software-item:hover {
    box-shadow: var(--shadow-md);
}

.software-item-icon {
    font-size: 48px;
    margin-right: 20px;
    flex-shrink: 0;
}

.software-item-info {
    flex: 1;
}

.software-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.software-item-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.software-item-info .meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.software-features {
    display: flex;
    gap: 8px;
}

.software-features span {
    padding: 3px 10px;
    font-size: 12px;
    background: rgba(26,115,232,0.1);
    color: var(--primary);
    border-radius: 4px;
}

.software-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.software-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination button {
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 教程文章列表 */
.tutorial-section {
    background: var(--bg-gray);
}

.tutorial-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tutorial-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.2s;
    border-left: 4px solid var(--primary);
}

.tutorial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.tutorial-icon {
    font-size: 36px;
    margin-right: 16px;
    flex-shrink: 0;
}

.tutorial-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tutorial-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

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

.tutorial-tags span {
    padding: 3px 10px;
    font-size: 11px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-secondary);
}

.tutorial-tags span.level {
    background: rgba(26,115,232,0.1);
    color: var(--primary);
}

.tutorial-tags span.level.intermediate {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
}

.tutorial-tags span.level.advanced {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

/* APP文章列表 */
.app-section {
    background: var(--white);
}

.app-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.app-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--primary);
}

.app-icon {
    font-size: 42px;
    margin-right: 16px;
    flex-shrink: 0;
}

.app-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.app-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.app-rating {
    color: #fbbc04;
    font-size: 14px;
    margin-bottom: 8px;
}

.app-card .btn {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 13px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
}

/* 软件文章列表 */
.software-section {
    background: var(--bg-gray);
}

.software-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.software-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

.software-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.software-card-icon {
    font-size: 40px;
    margin-right: 20px;
    flex-shrink: 0;
}

.software-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.software-card-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.software-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.software-card-info .meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.software-card .btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* 页脚 */
.footer {
    background: #202124;
    color: rgba(255,255,255,0.8);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-section p,
.footer-section li {
    font-size: 13px;
    line-height: 1.8;
}

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

.footer-section ul li a:hover {
    color: var(--white);
}

.subscribe {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.subscribe input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 13px;
}

.subscribe input::placeholder {
    color: rgba(255,255,255,0.5);
}

.subscribe button {
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.subscribe button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* 响应式 */
@media (max-width: 1024px) {
    .navbar .container {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 16px;
        gap: 8px;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .search-box {
        display: none;
        order: 1;
        width: 100%;
        margin-top: 8px;
    }

    .search-box.mobile-visible {
        display: flex;
    }

    .lang-selector {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        z-index: 1001;
        width: 140px;
    }

    .lang-selector.mobile-visible {
        display: block;
    }

    .lang-selector.mobile-visible .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: static;
        margin-top: 0;
        min-width: 100%;
        width: 100%;
        right: auto;
        left: auto;
    }

    .mobile-actions {
        display: flex;
        gap: 8px;
        margin-left: auto;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: flex;
    }

    .news-card.featured {
        flex-direction: column;
    }

    .news-card.featured .news-img,
    .news-card.featured .news-info {
        width: 100%;
    }

    .news-card.featured .news-img img {
        height: 180px;
    }

    .news-img {
        width: 150px;
    }

    .news-img img {
        height: 110px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card.featured {
        flex-direction: column;
    }

    .news-card.featured .news-img img {
        height: 160px;
    }

    .news-img {
        width: 100%;
    }

    .news-img img {
        height: 140px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 32px 0;
    }
}

/* 内容页响应式 */
@media (max-width: 1024px) {
    .article-item {
        flex-direction: column;
    }

    .article-item-img {
        width: 100%;
    }

    .article-item-img img {
        height: 180px;
    }

    .app-item,
    .software-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-actions,
    .software-actions {
        flex-direction: row;
        margin-left: 0;
        margin-top: 16px;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .content-page {
        padding: 20px 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .article-item-img img {
        height: 140px;
    }

    .tutorial-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .start-btn {
        width: 100%;
        margin-top: 12px;
    }
}

/* 详情页面样式 */
.detail-page {
    padding: 32px 0;
    min-height: calc(100vh - 180px);
    background: var(--bg-gray);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.article-detail,
.tutorial-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
}

.article-header {
    margin-bottom: 24px;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.article-image {
    margin-bottom: 24px;
}

.article-image {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--radius);
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.article-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

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

.article-tags span {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* 教程详情 */
.tutorial-header {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tutorial-icon-large {
    font-size: 64px;
}

.tutorial-info {
    flex: 1;
}

.tutorial-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.tutorial-badge.level {
    background: rgba(26,115,232,0.1);
    color: var(--primary);
}

.tutorial-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tutorial-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.tutorial-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tutorial-outline {
    margin-bottom: 32px;
}

.tutorial-outline h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.outline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.outline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.outline-item:hover {
    background: var(--border);
}

.outline-item.active {
    background: rgba(26,115,232,0.1);
    border-left: 3px solid var(--primary);
}

.outline-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
}

.outline-info {
    flex: 1;
}

.outline-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.outline-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.outline-duration {
    font-size: 13px;
    color: var(--text-secondary);
}

.tutorial-content {
    line-height: 1.8;
}

.tutorial-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.tutorial-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
}

.tutorial-content p {
    margin-bottom: 12px;
}

.tutorial-content pre {
    background: var(--bg-gray);
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 12px 0;
}

.tutorial-content code {
    font-family: monospace;
    font-size: 14px;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
}

.sidebar-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.related-item:hover {
    background: var(--bg-light);
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.related-icon {
    font-size: 32px;
}

.related-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.related-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud span {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-cloud span:hover {
    background: var(--primary);
    color: var(--white);
}

.progress-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.progress-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* APP详情页 */
.app-detail-header {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.app-icon-large {
    font-size: 80px;
}

.app-info {
    flex: 1;
}

.app-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-rating {
    font-size: 16px;
    color: #fbbc04;
    margin-bottom: 8px;
}

.app-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.app-meta-detail {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.app-actions-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-detail-content {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.app-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

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

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

.tab-content {
    padding: 24px;
}

.app-features,
.software-features {
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.app-screenshots,
.software-screenshots {
    margin-bottom: 32px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.screenshots-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    object-fit: cover;
}

.app-specs {
    margin-bottom: 32px;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.spec-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-value {
    font-size: 14px;
    font-weight: 500;
}

/* 软件详情页 */
.software-detail-header {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.software-icon-large {
    font-size: 80px;
}

.software-info {
    flex: 1;
}

.software-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.software-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.software-meta-detail {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.software-tags span {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.software-actions-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.software-detail-content {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.software-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.software-intro {
    margin-bottom: 32px;
}

.software-intro h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.software-intro p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-row {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.feature-row .feature-icon {
    font-size: 28px;
}

.feature-row .feature-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-row .feature-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.download-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.download-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.download-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.download-platform {
    font-size: 15px;
    font-weight: 600;
}

.download-size {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 响应式 */
@media (max-width: 992px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-detail,
    .tutorial-detail {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .tutorial-header {
        flex-direction: column;
    }
    
    .tutorial-icon-large {
        margin: 0 auto;
    }
    
    .app-detail-header,
    .software-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .app-actions-detail,
    .software-actions-detail {
        flex-direction: row;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-list {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
}

/* 全局图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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