﻿/*
Theme Name: 特科网
Theme URI: http://www.teke.cn
Description: 特科网-精通SEO的建站专家！
Author: 特科网
Author URI: admin@teke.cn
Version: 1.1
Tags: 特科网
*/


/* ========================================
   GEO笔记网站样式表
   完全复制当前预览效果
   ======================================== */

/* ========== CSS 变量 ========== */
:root {
    /* 颜色 */
    --primary: oklch(0.52 0.19 255);
    --primary-foreground: oklch(0.99 0.01 255);
    --background: oklch(0.99 0.005 255);
    --foreground: oklch(0.15 0.04 255);
    --muted: oklch(0.96 0.01 255);
    --muted-foreground: oklch(0.45 0.03 255);
    --border: oklch(0.9 0.02 255);
    --card: oklch(1 0 0);
    --orange: oklch(0.65 0.18 40);
    --green: oklch(0.6 0.15 145);
    --purple: oklch(0.5 0.15 290);
    --yellow: oklch(0.75 0.15 85);

    /* 圆角 */
    --radius: 0.65rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* 字体 */
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========== 重置样式 ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 容器 ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), oklch(0.52 0.19 255 / 0.9));
    color: white;
    box-shadow: 0 8px 24px oklch(0.52 0.19 255 / 0.25);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px oklch(0.52 0.19 255 / 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: oklch(0.52 0.19 255 / 0.05);
}

.btn-outline-orange:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: oklch(0.65 0.18 40 / 0.05);
}

.btn-outline-green {
    border-color: oklch(0.6 0.15 145 / 0.5);
    color: oklch(0.45 0.12 145);
}

.btn-outline-green:hover {
    border-color: var(--green);
    color: var(--green);
    background: oklch(0.6 0.15 145 / 0.05);
}

.btn-ghost {
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background: oklch(0.52 0.19 255 / 0.1);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

.btn-green {
    background: linear-gradient(to right, var(--green), oklch(0.6 0.15 145 / 0.9));
    color: white;
    box-shadow: 0 8px 24px oklch(0.6 0.15 145 / 0.25);
}

.btn-green:hover {
    transform: scale(1.02);
}

/* ========== Header ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid transparent;
    background: oklch(0.99 0.005 255 / 0.8);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.header.scrolled {
    border-bottom-color: oklch(0.9 0.02 255 / 0.4);
    background: oklch(0.99 0.005 255 / 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo:hover .logo-title {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    pointer-events: none;
}

.search-input {
    width: 220px;
    height: 40px;
    padding: 0 1rem 0 2.5rem;
    font-size: 0.875rem;
    background: oklch(0.96 0.01 255 / 0.5);
    border: 1px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: var(--background);
    border-color: oklch(0.52 0.19 255 / 0.5);
    box-shadow: 0 0 0 3px oklch(0.52 0.19 255 / 0.1);
}

.search-input::placeholder {
    color: var(--muted-foreground);
}

.mobile-menu-btn {
    display: none;
    padding: 0.625rem;
    border-radius: var(--radius);
}

.mobile-menu-btn:hover {
    background: var(--muted);
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    border-top: 1px solid oklch(0.9 0.02 255 / 0.5);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-search {
    position: relative;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.mobile-search .search-icon {
    left: 1.75rem;
}

.mobile-search .search-input {
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: oklch(0.52 0.19 255 / 0.1);
}

.mobile-login {
    width: calc(100% - 2rem);
    margin: 1rem 1rem 0;
    justify-content: flex-start;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), transparent 50%, oklch(0.65 0.18 40 / 0.05));
}

.hero-decorations {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.decoration-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: oklch(0.52 0.19 255 / 0.1);
}

.decoration-2 {
    top: 10rem;
    right: 5rem;
    width: 16rem;
    height: 16rem;
    background: oklch(0.65 0.18 40 / 0.1);
    animation-duration: 5s;
}

.decoration-3 {
    bottom: 5rem;
    left: 33%;
    width: 20rem;
    height: 20rem;
    background: oklch(0.52 0.19 255 / 0.05);
    animation-duration: 6s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-shape {
    position: absolute;
    animation: bounce 3s ease-in-out infinite;
}

.shape-1 {
    top: 8rem;
    right: 25%;
    width: 1rem;
    height: 1rem;
    background: oklch(0.52 0.19 255 / 0.3);
    transform: rotate(45deg);
}

.shape-2 {
    bottom: 10rem;
    left: 25%;
    width: 0.75rem;
    height: 0.75rem;
    background: oklch(0.65 0.18 40 / 0.3);
    border-radius: 50%;
    animation-duration: 4s;
    animation-delay: 1s;
}

.shape-3 {
    top: 50%;
    right: 4rem;
    width: 0.5rem;
    height: 0.5rem;
    background: oklch(0.52 0.19 255 / 0.4);
    transform: rotate(45deg);
    animation-duration: 5s;
    animation-delay: 2s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: oklch(0.52 0.19 255 / 0.1);
    border: 1px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.badge-icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--foreground);
    font-weight: 600;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.1), oklch(0.52 0.19 255 / 0.05));
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.hero-feature:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.feature-icon-orange svg {
    color: var(--orange);
}

.feature-icon-green svg {
    color: var(--green);
}

.hero-feature span {
    font-size: 1rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* ========== Section 通用样式 ========== */
.section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.section-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.decoration-top {
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.decoration-right {
    top: 5rem;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: oklch(0.52 0.19 255 / 0.03);
}

.decoration-left {
    bottom: 5rem;
    left: 0;
    width: 20rem;
    height: 20rem;
    background: oklch(0.65 0.18 40 / 0.03);
}

.decoration-right-large {
    top: 50%;
    right: 0;
    width: 32rem;
    height: 32rem;
    background: oklch(0.52 0.19 255 / 0.05);
    transform: translateY(-50%);
}

.decoration-bottom-right {
    bottom: 0;
    right: 25%;
    width: 40rem;
    height: 40rem;
    background: oklch(0.65 0.18 40 / 0.05);
}

.decoration-left-large {
    top: 25%;
    left: 0;
    width: 32rem;
    height: 32rem;
    background: oklch(0.52 0.19 255 / 0.05);
}

.decoration-bottom-right-large {
    bottom: 0;
    right: 0;
    width: 40rem;
    height: 40rem;
    background: oklch(0.52 0.19 255 / 0.05);
}

.section-notes {
    background: linear-gradient(to bottom, var(--background), oklch(0.96 0.01 255 / 0.2), var(--background));
}

.section-news {
    background: linear-gradient(to bottom, oklch(0.96 0.01 255 / 0.3), oklch(0.96 0.01 255 / 0.2), var(--background));
}

.section-courses {
    background: linear-gradient(to bottom, var(--background), oklch(0.96 0.01 255 / 0.2), var(--background));
}

.section-services {
    background: linear-gradient(to bottom, oklch(0.96 0.01 255 / 0.3), var(--background), var(--background));
}

.section-about {
    background: linear-gradient(to bottom, var(--background), oklch(0.96 0.01 255 / 0.2), var(--background));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: oklch(0.52 0.19 255 / 0.05);
    border: 1px solid oklch(0.52 0.19 255 / 0.1);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.section-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.section-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.section-badge-orange {
    background: oklch(0.65 0.18 40 / 0.05);
    border-color: oklch(0.65 0.18 40 / 0.1);
}

.section-badge-orange svg {
    color: var(--orange);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.8;
}

.text-primary {
    color: var(--primary);
    font-weight: 700;
}

.text-orange {
    color: var(--orange);
    font-weight: 700;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========== Category Cards ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-card {
    background: linear-gradient(135deg, var(--card), oklch(0.96 0.01 255 / 0.3));
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.15), oklch(0.52 0.19 255 / 0.05));
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(3deg);
}

.category-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.category-icon-yellow {
    background: linear-gradient(135deg, oklch(0.75 0.15 85 / 0.15), oklch(0.75 0.15 85 / 0.05));
}

.category-icon-yellow svg {
    color: var(--yellow);
}

.category-icon-green {
    background: linear-gradient(135deg, oklch(0.6 0.15 145 / 0.15), oklch(0.6 0.15 145 / 0.05));
}

.category-icon-green svg {
    color: var(--green);
}

.category-icon-purple {
    background: linear-gradient(135deg, oklch(0.5 0.15 290 / 0.15), oklch(0.5 0.15 290 / 0.05));
}

.category-icon-purple svg {
    color: var(--purple);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ========== Note Cards ========== */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.note-card {
    background: linear-gradient(135deg, var(--card), oklch(0.96 0.01 255 / 0.2));
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.note-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.note-card-featured {
    border-color: oklch(0.65 0.18 40 / 0.3);
    box-shadow: 0 0 0 1px oklch(0.65 0.18 40 / 0.3);
}

.note-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--orange), oklch(0.55 0.15 35));
}

.note-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.note-id {
    padding: 0.125rem 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: monospace;
}

.note-date {
    margin-left: auto;
}

.note-badge {
    padding: 0.125rem 0.5rem;
    background: oklch(0.65 0.18 40 / 0.1);
    color: oklch(0.55 0.15 35);
    border-radius: var(--radius);
    font-weight: 500;
}

.note-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.note-card:hover .note-card-title {
    color: var(--primary);
}

.note-card-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    flex: 1;
}

.note-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.note-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tag {
    padding: 0.125rem 0.625rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ========== News Cards ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: linear-gradient(135deg, var(--card), oklch(0.96 0.01 255 / 0.2));
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-card-featured {
    border-color: oklch(0.52 0.19 255 / 0.3);
    box-shadow: 0 0 0 1px oklch(0.52 0.19 255 / 0.3);
}

.news-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), oklch(0.52 0.19 255 / 0.6));
}

.news-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.news-badge {
    padding: 0.125rem 0.5rem;
    background: oklch(0.52 0.19 255 / 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 500;
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

/* ========== Course Section ========== */
.main-course-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, var(--card), oklch(0.96 0.01 255 / 0.3), var(--card));
    border: 2px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.main-course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), transparent, oklch(0.65 0.18 40 / 0.05));
    pointer-events: none;
}

.course-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.course-badge-hot {
    padding: 0.375rem 1rem;
    background: linear-gradient(to right, var(--primary), oklch(0.52 0.19 255 / 0.8));
    color: white;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.course-badge-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.main-course-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.main-course-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.main-course-desc {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.course-features {
    margin-bottom: 2rem;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: oklch(0.6 0.15 145 / 0.1);
    border-radius: 50%;
    color: oklch(0.45 0.12 145);
    font-size: 0.75rem;
}

.course-price-box {
    background: linear-gradient(to right, oklch(0.65 0.18 40 / 0.1), oklch(0.65 0.18 40 / 0.05));
    border: 1px solid oklch(0.65 0.18 40 / 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
}

.price-original {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.price-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--orange);
    color: white;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.price-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

/* Course Outline */
.main-course-outline {
    padding-left: 2rem;
    border-left: 1px solid oklch(0.9 0.02 255 / 0.5);
}

.outline-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.outline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: oklch(0.52 0.19 255 / 0.1);
    border-radius: var(--radius);
}

.outline-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.outline-modules {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.outline-module {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    cursor: pointer;
}

.outline-module:hover {
    background: oklch(0.96 0.01 255 / 0.3);
    border-color: oklch(0.52 0.19 255 / 0.3);
}

.module-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.15), oklch(0.52 0.19 255 / 0.05));
    border-radius: var(--radius-lg);
    font-weight: 700;
    color: var(--primary);
}

.module-info {
    flex: 1;
}

.module-title {
    display: block;
    font-weight: 600;
    transition: color 0.3s ease;
}

.outline-module:hover .module-title {
    color: var(--primary);
}

.module-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.module-count {
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* Other Courses */
.other-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.other-course-card {
    background: var(--card);
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.other-course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.other-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.other-course-card:hover::before {
    opacity: 1;
}

.other-course-orange:hover {
    box-shadow: 0 16px 48px oklch(0.65 0.18 40 / 0.1);
}

.other-course-orange:hover .other-course-title {
    color: var(--orange);
}

.other-course-green:hover {
    box-shadow: 0 16px 48px oklch(0.6 0.15 145 / 0.1);
}

.other-course-green:hover .other-course-title {
    color: var(--green);
}

.other-course-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.other-course-desc {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.other-course-features {
    margin-bottom: 1.5rem;
}

.other-course-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.check-icon-orange {
    color: var(--orange);
}

.check-icon-green {
    color: var(--green);
}

.other-course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

.other-course-price-green {
    color: var(--green);
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--card);
    border: 2px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 16px 48px oklch(0.52 0.19 255 / 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-green {
    border-color: oklch(0.6 0.15 145 / 0.2);
}

.service-card-green:hover {
    box-shadow: var(--shadow-xl), 0 16px 48px oklch(0.6 0.15 145 / 0.2);
}

.service-card-green::before {
    background: linear-gradient(135deg, oklch(0.6 0.15 145 / 0.05), transparent);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.2), oklch(0.52 0.19 255 / 0.1));
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.service-icon-green {
    background: linear-gradient(135deg, oklch(0.6 0.15 145 / 0.2), oklch(0.6 0.15 145 / 0.1));
}

.service-icon-green svg {
    color: var(--green);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.service-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
}

.service-content {
    margin-bottom: 1.5rem;
}

.service-content-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-list {
    padding-left: 1.75rem;
    margin-bottom: 1rem;
}

.service-list li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* Advantages */
.advantages-card {
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), oklch(0.96 0.01 255 / 0.3), oklch(0.65 0.18 40 / 0.05));
    border: 1px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.advantages-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.advantages-title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.advantage-icon {
    font-size: 2rem;
}

.advantage-item span:last-child {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ========== About Section ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-avatar-section {
    display: flex;
    justify-content: flex-end;
}

.avatar-wrapper {
    position: relative;
}

.avatar-decoration {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.2), oklch(0.65 0.18 40 / 0.2));
    border-radius: var(--radius-2xl);
    filter: blur(24px);
    animation: pulse 4s ease-in-out infinite;
}

.avatar-border {
    position: absolute;
    inset: -0.25rem;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.1), transparent);
    border-radius: var(--radius-2xl);
}

.about-avatar {
    position: relative;
    width: 18rem;
    height: 18rem;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-xl);
}

.avatar-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), oklch(0.52 0.19 255 / 0.8));
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    animation: bounce 3s ease-in-out infinite;
}

.avatar-badge-8 {
    top: -0.75rem;
    right: -0.75rem;
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

.avatar-badge-caie {
    bottom: -0.75rem;
    left: -0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    animation-delay: 1s;
}

.about-text-section {
    padding-left: 2rem;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-intro strong {
    color: var(--foreground);
    font-weight: 600;
}

.about-highlights {
    background: linear-gradient(135deg, oklch(0.96 0.01 255 / 0.5), oklch(0.96 0.01 255 / 0.3));
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.highlight-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
}

.highlight-item span:last-child {
    font-weight: 500;
}

.about-stats-text,
.about-notes-text {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats-text strong,
.about-notes-text strong {
    font-size: 1.125rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--card), oklch(0.96 0.01 255 / 0.3));
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Philosophy Card */
.philosophy-card {
    max-width: 48rem;
    margin: 0 auto;
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), oklch(0.96 0.01 255 / 0.3), oklch(0.65 0.18 40 / 0.05));
    border: 1px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.philosophy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.philosophy-icon {
    font-size: 2rem;
}

.philosophy-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

.philosophy-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.philosophy-divider {
    width: 6rem;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 0 auto 1.5rem;
}

.philosophy-promise {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ========== Footer ========== */
.footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, oklch(0.96 0.01 255 / 0.3), oklch(0.96 0.01 255 / 0.5));
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========== Page Header (通用页面头部) ========== */
.page-header {
    padding: 3rem 0 4rem;
    background: oklch(0.96 0.01 255 / 0.3);
    border-bottom: 1px solid oklch(0.9 0.02 255 / 0.5);
}

.page-header-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.page-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========== Search Section ========== */
.search-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid oklch(0.9 0.02 255 / 0.5);
}

.search-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
}

.search-input-full {
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem 0 2.5rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    outline: none;
    transition: all 0.3s ease;
}

.search-input-full:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px oklch(0.52 0.19 255 / 0.1);
}

/* ========== Section Label ========== */
.section-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ========== Categories Section ========== */
.section-categories {
    padding: 2rem 0;
}

.section-notes-list,
.section-news-list {
    padding: 2rem 0 4rem;
}

/* ========== Pagination ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-num,
.pagination span,
.pagination a
{
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    border-radius: var(--radius);
}

.pagination-num.active,
.pagination .current{
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--muted-foreground);
}

/* ========== Courses Page ========== */
.section-courses-main {
    padding: 3rem 0;
}

.main-course-full {
    background: var(--card);
    border: 2px solid oklch(0.52 0.19 255 / 0.2);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.course-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.course-full-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-full-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted-foreground);
}

.course-full-desc {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.course-teach {
    font-weight: 500;
    margin-bottom: 1rem;
}

.course-teach-list {
    margin-bottom: 1.5rem;
}

.course-teach-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
}

.price-note-inline {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.price-original-inline {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
    margin-left: 0.75rem;
}

.module-arrow {
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.outline-module:hover .module-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

.course-benefits {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid oklch(0.9 0.02 255 / 0.5);
}

.benefits-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.section-other-courses {
    padding: 3rem 0;
    background: oklch(0.96 0.01 255 / 0.3);
}

.section-title-left {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* ========== Services Page ========== */
.section-services-page {
    padding: 3rem 0;
}

.service-target {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.section-contact-form {
    padding: 3rem 0;
    background: oklch(0.96 0.01 255 / 0.3);
}

.contact-form-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--muted-foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: auto;
    padding: 0.75rem;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px oklch(0.52 0.19 255 / 0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid oklch(0.9 0.02 255 / 0.5);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-info-item svg {
    width: 1rem;
    height: 1rem;
}

.contact-info-item a:hover {
    color: var(--primary);
}

/* ========== About Page ========== */
.section-about-page {
    padding: 3rem 0;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.about-tag {
    padding: 0.5rem 1.25rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.about-tag:hover {
    background: var(--primary);
    color: white;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.philosophy-card-item {
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.05), oklch(0.96 0.01 255 / 0.3));
    border: 1px solid oklch(0.52 0.19 255 / 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.philosophy-card-item.philosophy-card-orange {
    background: linear-gradient(135deg, oklch(0.65 0.18 40 / 0.05), oklch(0.96 0.01 255 / 0.3));
    border-color: oklch(0.65 0.18 40 / 0.1);
}

.philosophy-card-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.philosophy-card-icon span {
    font-size: 1.5rem;
}

.philosophy-card-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.philosophy-card-text {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.expertise-section {
    margin-top: 3rem;
}

.expertise-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--card);
    border: 1px solid oklch(0.9 0.02 255 / 0.5);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    box-shadow: var(--shadow-lg);
}

.expertise-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.expertise-card-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.avatar-dot {
    position: absolute;
    border-radius: 50%;
}

.avatar-dot-1 {
    top: -0.5rem;
    right: -0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
}

.avatar-dot-2 {
    bottom: -0.5rem;
    left: -0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--orange);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .main-course-card {
        grid-template-columns: 1fr;
    }

    .main-course-outline {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid oklch(0.9 0.02 255 / 0.5);
        padding-top: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-avatar-section {
        justify-content: center;
        order: -1;
    }

    .about-text-section {
        padding-left: 0;
    }

    .about-highlights {
        text-align: left;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .course-grid-2col {
        grid-template-columns: 1fr;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .search-box {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .notes-grid,
    .news-grid,
    .other-courses {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .search-wrapper {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main-course-card {
        padding: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .about-avatar {
        width: 14rem;
        height: 14rem;
    }

    .main-course-full {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ========== 文章详情页样式 ========== */
.breadcrumb-section {
    padding: 1rem 0;
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--foreground);
    font-weight: 500;
}

.article-container {
    padding: 2rem 0 4rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
}

.article-category {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: oklch(0.52 0.19 255 / 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.author-title {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.meta-details {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.meta-date,
.meta-reading,
.meta-views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.meta-details svg {
    opacity: 0.6;
}

/* Article Cover */
.article-cover {
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Body */
.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--foreground);
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    font-weight: 600;
    color: var(--foreground);
}

/* Article Tip */
.article-tip {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: oklch(0.52 0.19 255 / 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.tip-content p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Article Code */
.article-code {
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.code-header {
    padding: 0.75rem 1rem;
    background: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.article-code pre {
    padding: 1rem;
    background: oklch(0.15 0.04 255);
    color: oklch(0.9 0.02 255);
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.article-code code {
    background: transparent;
    padding: 0;
}

/* Article Steps */
.article-steps {
    margin: 1.5rem 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: oklch(0.52 0.19 255 / 0.1);
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Article Quote */
.article-quote {
    margin: 1.5rem 0;
    padding: 1.5rem 2rem;
    background: var(--muted);
    border-radius: var(--radius-lg);
}

.article-quote blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--foreground);
    margin: 0;
}

.article-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--muted-foreground);
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.tag-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.article-tag {
    padding: 0.375rem 0.875rem;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background: var(--primary);
    color: white;
}

/* Author Card */
.author-card,
address.author-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--muted);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
    font-style: normal; /* 重置 address 默认斜体 */
}

.author-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-card-title {
    font-size: 0.8125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.author-card-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-card-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.author-card-link:hover {
    text-decoration: underline;
}

/* Article Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.nav-prev,
.nav-next {
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-next {
    text-align: right;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-content {
    padding: 1rem;
}

.related-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.related-content h4 {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 0.5rem 0;
    line-height: 1.4;
}

.related-date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}




.hot-note-item{
    width: 100%;
    display: block;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 32px;
}
.hot-note-rank{
    background-color: #E1EDFB;
    display: inline-block;
    width: 20px;
    height: 20px;
    color: #1F78D8;
    border-radius: 50%;
    line-height: 20px;
    text-align: center;
}
.tag-cloud-item{
    background-color: #EDF2F9;
    padding: 4px 10px;
    border-radius: 16px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
}
.course-promo-price .price{
    color: #0568D2;
    font-size: 20px;
    font-weight: bold;
}
/* TOC */
.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 0.375rem 0;
    padding-left: 0.75rem;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.toc-link:hover,
.toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, oklch(0.52 0.19 255 / 0.1), oklch(0.65 0.18 40 / 0.05));
    border-color: oklch(0.52 0.19 255 / 0.2);
}

.cta-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-card p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* Hot List */
.hot-list {
    display: flex;
    flex-direction: column;
}

.hot-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    flex-shrink: 0;
}

.hot-item:first-child .hot-number {
    background: var(--primary);
    color: white;
}

.hot-item:nth-child(2) .hot-number {
    background: var(--orange);
    color: white;
}

.hot-item:nth-child(3) .hot-number {
    background: var(--green);
    color: white;
}

.hot-title {
    font-size: 0.8125rem;
    color: var(--foreground);
    line-height: 1.5;
}

.hot-item:hover .hot-title {
    color: var(--primary);
}

/* Article Page Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .toc-card {
        grid-column: span 2;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .meta-details {
        flex-wrap: wrap;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .toc-card {
        grid-column: span 1;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-card-avatar {
        margin: 0 auto;
    }
}


/* ========================================
   课程详情页样式
   ======================================== */

/* 课程详情页头部 */
.course-detail-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.course-header-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .course-header-content {
        grid-template-columns: 1fr 320px;
        align-items: start;
    }
}

.course-header-main {
    max-width: 100%;
}

.course-badges-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.course-badge-hot {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--orange), #ff6b35);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-badge-rating,
.course-badge-students {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.course-detail-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .course-detail-title {
        font-size: 2.5rem;
    }
}

.course-detail-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.course-detail-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.course-detail-intro p {
    margin-bottom: 0.5rem;
}

.course-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.meta-item svg {
    color: var(--primary);
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 价格卡片侧边栏 */
.course-header-sidebar {
    position: sticky;
    top: 100px;
}

.course-price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.price-header {
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    margin-bottom: 0.5rem;
}

.price-original-inline {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.price-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.course-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.course-guarantee svg {
    color: var(--green);
}

/* 课程内容区域 */
.course-detail-content {
    padding: 3rem 0;
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .course-detail-grid {
        grid-template-columns: 1fr 320px;
    }
}

.course-main {
    max-width: 100%;
}

.course-section {
    margin-bottom: 2.5rem;
}

.course-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

/* 学习目标列表 */
.learn-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.learn-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.learn-item .check-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.learn-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.learn-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* 课程大纲 */
.course-outline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outline-module-detail {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--secondary);
    cursor: pointer;
    transition: background 0.2s;
}

.module-header:hover {
    background: var(--muted);
}

.module-number {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
}

.module-info {
    flex: 1;
}

.module-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.module-lessons {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.module-content {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.2s;
}

.lesson-item:hover {
    background: var(--secondary);
}

.lesson-number {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.lesson-title {
    flex: 1;
    color: var(--foreground);
}

/* 课程权益网格 */
.benefits-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.benefit-card {
    padding: 1.25rem;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* 适合人群 */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.audience-item {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
}

.audience-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.audience-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.audience-item p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* 课程侧边栏 */
.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* 讲师卡片 */
.instructor-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.instructor-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.instructor-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.instructor-title {
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.instructor-bio {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

.instructor-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* 其他课程 */
.sidebar-other-courses .other-course-mini {
    margin-bottom: 1rem;
}

.other-course-link {
    display: block;
    padding: 1rem;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.other-course-link:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.other-course-link h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.other-course-link p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.other-course-link .course-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* FAQ */
.sidebar-faq {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.faq-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .course-detail-header {
        padding: 1.5rem 0 2rem;
    }

    .course-detail-title {
        font-size: 1.5rem;
    }

    .course-meta-info {
        gap: 1rem;
    }

    .course-header-sidebar {
        position: static;
    }

    .course-section-title {
        font-size: 1.25rem;
    }

    .benefits-grid-full {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========================================
   WordPress 标准结构样式（新增）
   ======================================== */

/* 站点头部导航 */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-branding {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
}

.site-description {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.main-navigation {
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
}

/* 容器 */
.container-narrow {
    max-width: 800px;
}

/* 文章头部 */
.entry-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.entry-categories {
    margin-bottom: 0.75rem;
}

.entry-categories a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .entry-title {
        font-size: 2.5rem;
    }
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.entry-meta a {
    color: var(--muted-foreground);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--primary);
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.entry-tags a {
    padding: 0.25rem 0.625rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: var(--radius);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.entry-tags a:hover {
    background: var(--primary);
    color: white;
}

/* 资讯头部 */
.entry-header-news .entry-title {
    font-size: 1.75rem;
}

@media (min-width: 768px) {
    .entry-header-news .entry-title {
        font-size: 2rem;
    }
}

.news-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--orange);
    color: white;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

/* 内容布局 */
.entry-content-wrapper {
    padding: 2rem 0;
}

.content-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-sidebar-layout {
        grid-template-columns: 1fr 300px;
    }
}

/* 文章内容纯标签样式 */
.entry-content {
    max-width: 100%;
}

.entry-content p.lead {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--muted-foreground);
}

/* 文章底部 */
.entry-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 2rem;
}

/* 作者卡片 */
.author-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--secondary);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.author-box .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.author-box h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-box p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.author-links a {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box .author-avatar {
        margin: 0 auto;
    }
}

/* 相关文章 */
.related-posts h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.related-post {
    display: block;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
}

.related-post:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-post h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-post .post-date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* 小工具区域 */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* 作者小工具 */
.author-bio {
    text-align: center;
}

.author-bio .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    object-fit: cover;
}

.author-bio h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-bio p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* 热门文章小工具 */
.widget-popular-posts ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 0;
}

.widget-popular-posts li {
    margin-bottom: 0.5rem;
}

.widget-popular-posts a {
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    line-height: 1.5;
}

.widget-popular-posts a:hover {
    color: var(--primary);
}

/* 标签云小工具 */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tagcloud a {
    padding: 0.25rem 0.625rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: var(--radius);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.tagcloud a:hover {
    background: var(--primary);
    color: white;
}

/* 推广卡片小工具 */
.promo-card {
    text-align: center;
}

.promo-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.promo-card p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.promo-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* 课程头部 */
.entry-header-course {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
    padding: 2rem 0 3rem;
}

.course-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .course-header-grid {
        grid-template-columns: 1fr 340px;
        align-items: start;
    }
}

.course-info .entry-title {
    margin-bottom: 0.5rem;
}

.course-subtitle {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-hot {
    background: linear-gradient(135deg, var(--orange), #ff6b35);
    color: white;
}

.badge-rating,
.badge-students {
    background: var(--muted);
    color: var(--muted-foreground);
}

.course-excerpt {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.course-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.course-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.course-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.course-meta strong {
    color: var(--foreground);
}

/* 购买卡片 */
.course-purchase-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 80px;
}

.purchase-price {
    margin-bottom: 0.5rem;
}

.purchase-price .price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.purchase-price .price-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.purchase-price .price-original {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.price-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.purchase-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.purchase-guarantee svg {
    color: var(--green);
}

.purchase-includes {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
}

.purchase-includes li {
    padding: 0.25rem 0;
    color: var(--muted-foreground);
}

/* 课程大纲 */
.course-outline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.outline-module {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.outline-module[open] .module-header {
    background: var(--secondary);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
    list-style: none;
}

.module-header::-webkit-details-marker {
    display: none;
}

.module-header:hover {
    background: var(--secondary);
}

.module-header .module-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.module-header .module-title {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.module-header .module-count {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.module-lessons {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--background);
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.lesson-item .lesson-number {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.lesson-item .lesson-title {
    color: var(--foreground);
}

/* 适合人群 */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.audience-item {
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
}

.audience-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.audience-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.audience-item h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.audience-item p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: block;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: var(--secondary);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

/* 讲师小工具 */
.instructor-card {
    text-align: center;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    object-fit: cover;
}

.instructor-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.instructor-title {
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.instructor-bio {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.instructor-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.instructor-stats .stat {
    text-align: center;
}

.instructor-stats .stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.instructor-stats .stat-label {
    font-size: 0.6875rem;
    color: var(--muted-foreground);
}

/* 其他课程小工具 */
.widget-courses .course-item {
    display: block;
    padding: 1rem;
    background: var(--secondary);
    border-radius: var(--radius);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.widget-courses .course-item:last-child {
    margin-bottom: 0;
}

.widget-courses .course-item:hover {
    transform: translateX(4px);
}

.widget-courses .course-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.widget-courses .course-item p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.widget-courses .course-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* 页脚 */
.site-footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}


/* ========================================
   AI 文章内容自动美化样式
   无需添加 class，纯 HTML 标签自动美化
   ======================================== */

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--foreground);
}

/* 段落 */
.article-content p {
    margin-bottom: 1.5rem;
}

/* 标题 - 层级清晰 */
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
    line-height: 1.4;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 0.875rem;
    border-left: 3px solid var(--primary);
    line-height: 1.5;
}

.article-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
}

.article-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
}

/* 首段加大 */
.article-content > p:first-of-type {
    font-size: 1.125rem;
    color: var(--foreground);
    line-height: 1.9;
}

/* 无序列表 */
.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.article-content ul li:last-child {
    margin-bottom: 0;
}

/* 有序列表 */
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    counter-reset: item;
}

.article-content ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: oklch(0.52 0.19 255 / 0.1);
    border-radius: 50%;
}

.article-content ol li:last-child {
    margin-bottom: 0;
}

/* 嵌套列表 */
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

/* 引用 */
.article-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: oklch(0.52 0.19 255 / 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* 代码 */
.article-content code {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
    font-size: 0.875em;
    padding: 0.2em 0.4em;
    background: var(--muted);
    color: var(--primary);
    border-radius: 4px;
}

/* 代码块 */
.article-content pre {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: oklch(0.12 0.04 255);
    border-radius: var(--radius);
    overflow-x: auto;
}

.article-content pre code {
    padding: 0;
    background: transparent;
    color: oklch(0.85 0.03 255);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 表格 */
.article-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.article-content table th,
.article-content table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-content table th {
    font-weight: 600;
    color: var(--foreground);
    background: var(--muted);
}

.article-content table tr:hover td {
    background: oklch(0.52 0.19 255 / 0.03);
}

/* 强调 */
.article-content strong {
    font-weight: 600;
    color: var(--foreground);
}

.article-content em {
    font-style: italic;
}

/* 链接 */
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: oklch(0.45 0.19 255);
}

/* 分隔线 */
.article-content hr {
    margin: 2.5rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* 图片 */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* 图片说明 */
.article-content figure {
    margin: 2rem 0;
}

.article-content figure img {
    margin-bottom: 0.75rem;
}

.article-content figure figcaption {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* 定义列表 */
.article-content dl {
    margin: 1.5rem 0;
}

.article-content dt {
    font-weight: 600;
    color: var(--foreground);
    margin-top: 1rem;
}

.article-content dd {
    margin-left: 1.5rem;
    color: var(--muted-foreground);
}

/* 缩写 */
.article-content abbr {
    border-bottom: 1px dotted var(--muted-foreground);
    cursor: help;
}

/* 标记 */
.article-content mark {
    background: oklch(0.75 0.15 85 / 0.3);
    padding: 0.1em 0.3em;
    border-radius: 2px;
}

/* 删除线 */
.article-content del {
    color: var(--muted-foreground);
    text-decoration: line-through;
}

/* 下标上标 */
.article-content sub,
.article-content sup {
    font-size: 0.75em;
}

/* 小字 */
.article-content small {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* 引用来源 */
.article-content cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: normal;
}

/* 键盘按键 */
.article-content kbd {
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 0.8125rem;
    font-family: var(--font-sans);
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 1px 0 var(--border);
}

/* 地址 */
.article-content address {
    font-style: normal;
    margin: 1.5rem 0;
    color: var(--muted-foreground);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.375rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
    }

    .article-content pre {
        padding: 1rem;
    }
}
