/* ==================== 
   基础变量与重置 
   ==================== */
:root {
    /* 品牌色 - 卓朗蓝 */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    
    /* 品牌强调色 - 卓朗蓝 */
    --brand: #2563EB;
    --brand-dark: #1D4ED8;
    --brand-light: #3B82F6;
    
    /* 辅助色 */
    --secondary: #10B981;
    --accent: #F59E0B;
    
    /* 中性色 */
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #F3F4F6;
    --white: #FFFFFF;
    
    /* 背景色 */
    --bg-primary: #FAFBFC;
    --bg-secondary: #F8FAFC;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 过渡 */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 品牌高亮样式 */
.brand-highlight {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ==================== 
   导航栏 
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
}

.logo-text {
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-light);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--gray);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--gray-lighter);
    color: var(--dark);
}

.login-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ==================== 
   Hero 首屏 
   ==================== */
.hero {
    min-height: 100vh;
    padding: 140px 24px 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FAFBFC 0%, #EFF6FF 50%, #FAFBFC 100%);
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    color: var(--primary);
}

/* Slogan 标语 */
.hero-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0 32px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.12));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.15);
    animation: fadeInUp 0.6s ease 0.15s both;
}

.slogan-item {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-light);
    letter-spacing: 2px;
}

.slogan-highlight {
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
}

.slogan-divider {
    color: var(--primary);
    opacity: 0.4;
    font-size: 18px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.tag {
    padding: 8px 16px;
    background: var(--white);
    color: var(--dark-light);
    font-size: 14px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-stats-box {
    position: absolute;
    bottom: 40px;
    right: 10%;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-lighter);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 
   快捷入口 
   ==================== */
.quick-nav {
    background: var(--white);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-nav-header {
    text-align: center;
    margin-bottom: 32px;
}

.quick-nav-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.quick-nav-header p {
    font-size: 15px;
    color: var(--gray);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.quick-nav-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.quick-nav-item.highlight-item {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.quick-nav-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.quick-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.quick-nav-desc {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
}

/* ==================== 
   模块通用样式 
   ==================== */
.module-section {
    padding: 80px 0;
}

.module-section.light-bg {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
}

/* ==================== 
   课程卡片 
   ==================== */
.course-module {
    background: linear-gradient(180deg, #F0F7FF 0%, #FAFBFC 100%);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.course-vip {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

.course-all-in-one {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #EF4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.course-badge-new {
    background: var(--primary);
}

.course-badge-best {
    background: #F59E0B;
}

.course-icon {
    font-size: 36px;
    flex-shrink: 0;
    padding-top: 4px;
}

.course-info {
    flex: 1;
}

.course-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
}

.course-tag-green { background: #10B981; }
.course-tag-purple { background: #8B5CF6; }
.course-tag-gold { background: #F59E0B; }

.course-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.course-info > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.course-features li {
    font-size: 13px;
    color: var(--dark-light);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-lighter);
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--gray);
}

.price-current {
    font-size: 22px;
    font-weight: 700;
    color: #EF4444;
}

.price-origin {
    font-size: 13px;
    color: var(--gray-light);
    text-decoration: line-through;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.course-cta {
    text-align: center;
    padding: 20px;
}

.course-cta p {
    color: var(--gray);
    margin-bottom: 12px;
}

.course-card-header {
    padding: 24px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-card-header.shenlun {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.course-card-header.mianshi {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.course-card-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.course-card-body {
    padding: 20px;
}

.course-list li {
    margin-bottom: 12px;
}

.course-list a {
    font-size: 14px;
    color: var(--dark-light);
    display: block;
    padding: 6px 0;
    transition: var(--transition);
}

.course-list a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* ==================== 
   行测卡片 
   ==================== */
.xingce-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.xingce-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.xingce-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.xingce-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.xingce-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.xingce-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

/* ==================== 
   热门推荐 
   ==================== */
.hot-section {
    padding: 80px 0;
    background: var(--white);
}

.hot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.hot-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--gray-lighter);
}

.hot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hot-large {
    grid-row: span 2;
    flex-direction: column;
}

.hot-card-image {
    width: 180px;
    height: 100%;
    position: relative;
}

.hot-card-image.hot-1 { background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%); }
.hot-card-image.hot-2 { background: linear-gradient(135deg, #D1FAE5 0%, #6EE7B7 100%); }
.hot-card-image.hot-3 { background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%); }
.hot-card-image.hot-4 { background: linear-gradient(135deg, #E0E7FF 0%, #A5B4FC 100%); }
.hot-card-image.hot-5 { background: linear-gradient(135deg, #FCE7F3 0%, #F9A8D4 100%); }

.hot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--secondary);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.hot-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hot-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
}

.hot-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.hot-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.hot-card-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-light);
}

/* ==================== 
   感悟文章 
   ==================== */
.essay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.essay-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--gray-lighter);
}

.essay-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.essay-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.essay-icon {
    font-size: 24px;
}

.essay-category {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.essay-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.essay-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.essay-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-light);
}

.more-essay {
    text-align: center;
    margin-top: 40px;
}

/* ==================== 
   工具箱 
   ==================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.tool-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-lighter);
    color: var(--gray);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.tool-tag.highlight {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

/* ==================== 
   CTA区域 
   ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* ==================== 
   留言反馈区域 
   ==================== */
.feedback-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.feedback-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto 48px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 20px;
}

.feedback-form .btn {
    width: 100%;
}

/* 社群引导 */
.community-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(59, 130, 246, 0.1));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.community-section h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.community-section > p {
    color: var(--gray);
    margin-bottom: 24px;
}

.community-qr {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-box {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary-light);
}

.qr-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    object-fit: cover;
}

.qr-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    object-fit: cover;
    transition: all 0.3s ease;
}

.qr-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.qr-item span {
    font-weight: 600;
    color: var(--dark);
}

.qr-item small {
    color: var(--gray);
    font-size: 13px;
}

/* ==================== 
   页脚 
   ==================== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ==================== 
   响应式设计 
   ==================== */
@media (max-width: 1024px) {
    .hero-stats-box {
        display: none;
    }
    
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xingce-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .xingce-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hot-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-large {
        grid-row: auto;
    }
    
    .hot-card {
        flex-direction: row;
    }
    
    .hot-card-image {
        width: 100px;
    }
    
    .essay-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 16px 60px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-tags {
        gap: 8px;
    }
    
    .tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-slogan {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
        margin: 16px 0 24px;
    }
    
    .slogan-item {
        font-size: 14px;
    }
    
    .slogan-highlight {
        font-size: 18px;
    }
    
    .slogan-divider {
        display: none;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xingce-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-section {
        padding: 48px 0;
    }
    
    .feedback-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .community-section {
        padding: 24px 16px;
    }
    
    .community-qr {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== 
   搜索弹窗 
   ==================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: var(--transition);
}

.search-modal.active .search-content {
    transform: translateY(0);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
}

.search-close {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.search-close:hover {
    background: var(--primary);
    color: white;
}
