/* ========================================
   元诣教育官网 - 样式表
   ======================================== */

/* CSS变量 */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* 基础重置 */
*, *::before, *::after {
    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;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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 20px;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-glow {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 0 50px rgba(37, 99, 235, 0.8); }
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

.btn-buy {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

.btn-buy:hover {
    transform: scale(1.05);
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
    padding: 100px 20px 60px;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ========================================
   区块通用样式
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title .highlight {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 17px;
    color: var(--gray);
}

/* ========================================
   特色服务
   ======================================== */
.features {
    background: var(--light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.feature-hover {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.feature-card:hover .feature-hover {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   关于我们
   ======================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.3);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
}

.exp-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-light);
}

.about-feature i {
    color: var(--success);
    font-size: 18px;
}

/* ========================================
   数据统计
   ======================================== */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--white);
}

.stat-number-large {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label-large {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* ========================================
   精品课程
   ======================================== */
.courses {
    background: var(--white);
}

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

.filter-btn {
    padding: 12px 24px;
    background: var(--light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-light);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    z-index: 1;
}

.course-badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.course-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.course-badge.vip {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.course-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.course-content {
    padding: 24px;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.course-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 44px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.course-meta span {
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--light);
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.original-price {
    font-size: 14px;
    color: var(--gray-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--error);
}

/* ========================================
   中烟企业
   ======================================== */
.companies {
    background: var(--light);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.company-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
}

.company-card:hover h4,
.company-card:hover p {
    color: var(--white);
}

.company-card:hover .company-logo {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.company-logo {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.company-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    transition: var(--transition);
}

.company-card p {
    font-size: 13px;
    color: var(--gray);
    transition: var(--transition);
}

.companies-cta {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.companies-cta p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
}

/* ========================================
   学员评价
   ======================================== */
.testimonials {
    background: var(--white);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(50% - 15px);
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.quote-icon {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.author-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: var(--gray);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--light);
    background: var(--white);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ========================================
   学习社区
   ======================================== */
.community {
    background: var(--light);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* 各省中烟QQ群 */
.qq-groups-section {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.qq-groups-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.qq-groups-title i {
    color: #12b7f5;
    font-size: 28px;
}

.qq-groups-desc {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.qq-groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.qq-group-item {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.qq-group-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.qq-group-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.qq-group-number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.btn-copy-sm {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
}

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

/* 黄老师联系卡片 */
.teacher-contact {
    margin-bottom: 40px;
}

.teacher-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 40px 50px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-xl);
}

.teacher-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    flex-shrink: 0;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.teacher-info h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.teacher-info > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.teacher-qq {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.teacher-qq i {
    font-size: 24px;
    color: #12b7f5;
}

.teacher-qq span {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.teacher-desc {
    font-size: 14px;
    color: var(--accent) !important;
}

/* 联系我们页面优化 */
.highlight-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 2px solid var(--primary);
}

.qq-icon {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5e9 100%);
}

.qq-large {
    font-size: 28px !important;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.btn-copy-qq {
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy-qq:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.community-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.community-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #07c160 0%, #10b981 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--white);
}

.community-icon.qq {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5e9 100%);
}

.community-icon.app {
    background: var(--gradient-primary);
}

.community-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.community-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--gray);
    border: 2px dashed var(--gray-light);
}

.qr-placeholder i {
    font-size: 48px;
    margin-bottom: 8px;
}

.qr-placeholder span {
    font-size: 13px;
}

.qr-placeholder.large {
    width: 180px;
    height: 180px;
    margin: 20px auto;
}

.qq-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--light);
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-top: 10px;
}

.qq-number span {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 2px;
}

.btn-copy {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    border-radius: var(--radius);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.community-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.community-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.community-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-light);
}

.community-feature i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* ========================================
   CTA区域
   ======================================== */
.cta-section {
    background: var(--white);
    padding: 0 0 100px;
}

.cta-wrapper {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

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

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-circle.c1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.cta-circle.c2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.cta-circle.c3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-only-info {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-social-full {
    margin-top: 40px;
    text-align: center;
}

.contact-social-full span {
    display: block;
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link.large {
    width: auto;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link.large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.social-link.large i {
    font-size: 24px;
}

.social-link.qq-social {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5e9 100%);
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 6px;
}

.contact-detail p {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-detail span {
    font-size: 13px;
    color: var(--gray-light);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding: 0 24px;
}

.contact-social span {
    font-size: 15px;
    color: var(--gray);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-img-footer {
    height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
    background: var(--white);
    padding: 4px;
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   弹窗
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--light);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
}

.modal-body {
    padding: 24px;
}

.course-info {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.course-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--error);
}

.payment-methods h5 {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover,
.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--dark);
}

.payment-label i {
    font-size: 20px;
}

.payment-label .fa-weixin {
    color: #07c160;
}

.payment-label .fa-alipay {
    color: #1677ff;
}

.qr-payment {
    text-align: center;
}

.qr-payment p {
    font-size: 14px;
    color: var(--gray);
}

.payment-contact {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--light);
}

.payment-qq-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(18, 183, 245, 0.1);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--dark);
}

.payment-qq-info i {
    font-size: 20px;
    color: #12b7f5;
}

.payment-qq-info strong {
    color: var(--primary);
    font-size: 16px;
    font-family: 'Courier New', monospace;
}

/* ========================================
   Toast提示
   ======================================== */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--dark);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 3000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast i {
    color: var(--success);
    font-size: 20px;
}

/* ========================================
   动画
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-experience {
        right: 20px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-full {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qq-groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .teacher-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .teacher-qq {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .courses-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .community-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-wrapper {
        padding: 50px 30px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .qq-groups-section {
        padding: 30px 20px;
    }
    
    .qq-groups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .qq-group-item {
        padding: 16px;
    }
    
    .qq-group-name {
        font-size: 14px;
    }
    
    .qq-group-number {
        font-size: 15px;
    }
    
    .teacher-card {
        padding: 30px 20px;
    }
    
    .teacher-avatar {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .teacher-info h4 {
        font-size: 22px;
    }
    
    .teacher-qq {
        flex-direction: column;
        padding: 16px;
        gap: 10px;
    }
    
    .teacher-qq span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .about-experience {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        justify-content: center;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number-large {
        font-size: 32px;
    }
}


/* ========================================
   招聘公告栏
   ======================================== */
.job-section {
    background: var(--white);
    padding: 100px 0;
}

.job-board {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 公告标题栏 */
.job-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.job-update-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
}

.job-update-info i {
    color: var(--primary);
    font-size: 14px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-refresh i {
    font-size: 12px;
}

.btn-refresh:active i {
    animation: spin 1s linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .job-board-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .job-update-info {
        font-size: 12px;
    }
    
    .btn-refresh {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 加载状态 */
.job-loading,
.job-error,
.job-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    gap: 16px;
    color: var(--gray);
}

.job-loading i,
.job-error i,
.job-empty i {
    font-size: 48px;
    margin-bottom: 8px;
}

.job-loading i {
    color: var(--primary);
}

.job-error i {
    color: var(--error);
}

.job-empty i {
    color: var(--gray-light);
}

.job-error span,
.job-empty span {
    font-size: 16px;
    margin-bottom: 8px;
}

/* 公告列表 */
.job-list-header {
    display: grid;
    grid-template-columns: 1fr 200px 120px;
    gap: 20px;
    padding: 20px 30px;
    background: var(--light);
    border-bottom: 2px solid var(--light);
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.job-items {
    max-height: 500px;
    overflow-y: auto;
}

.job-item {
    display: grid;
    grid-template-columns: 1fr 200px 120px;
    gap: 20px;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    align-items: center;
}

.job-item:hover {
    background: rgba(37, 99, 235, 0.03);
}

.job-item:last-child {
    border-bottom: none;
}

.job-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-title a {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.job-tag {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.job-tag.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.job-tag.hot {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.job-region {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-region i {
    color: var(--primary-light);
}

.job-date {
    font-size: 14px;
    color: var(--gray-light);
    font-family: 'Courier New', monospace;
}

/* 分页控制 */
.job-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 30px;
    border-top: 1px solid var(--light);
    background: var(--light);
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* 数据来源说明 */
.job-source {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.job-source p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.job-source p i {
    color: var(--primary);
    margin-right: 6px;
}

.job-source .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* 滚动条样式 */
.job-items::-webkit-scrollbar {
    width: 6px;
}

.job-items::-webkit-scrollbar-track {
    background: var(--light);
}

.job-items::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 3px;
}

.job-items::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .job-list-header {
        grid-template-columns: 1fr 150px 100px;
        padding: 16px 20px;
    }
    
    .job-item {
        grid-template-columns: 1fr 150px 100px;
        padding: 16px 20px;
    }
    
    .job-title a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .job-section {
        padding: 60px 0;
    }
    
    .job-list-header {
        display: none;
    }
    
    .job-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 20px;
    }
    
    .job-title {
        width: 100%;
    }
    
    .job-title a {
        -webkit-line-clamp: 3;
    }
    
    .job-meta {
        display: flex;
        gap: 16px;
        width: 100%;
        margin-top: 4px;
    }
    
    .job-region,
    .job-date {
        font-size: 13px;
    }
    
    .job-pagination {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .page-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ==================== 登录系统样式 ==================== */

/* 登录按钮 */
.btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-login i {
    font-size: 16px;
}

/* 已登录状态 */
.user-logged-in {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(59, 130, 246, 0.1);
}

.user-logged-in:hover {
    background: rgba(59, 130, 246, 0.2);
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
}

.user-name-small {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-modal.active {
    display: flex;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.login-container {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: loginSlideUp 0.4s ease;
    z-index: 1;
}

@keyframes loginSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
}

.login-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: rotate(90deg);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: #64748b;
}

/* 登录选项卡 */
.login-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 16px;
}

.login-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.login-tab i {
    font-size: 18px;
}

.login-tab.active[data-type="wechat"] {
    background: #07c160;
    color: white;
}

.login-tab.active[data-type="qq"] {
    background: #12b7f5;
    color: white;
}

.login-tab:not(.active):hover {
    background: #e2e8f0;
}

/* 登录面板 */
.login-content {
    position: relative;
}

.login-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.login-panel.active {
    display: block;
}

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

/* 二维码区域 */
.qrcode-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qrcode-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-loading {
    text-align: center;
    color: #64748b;
}

.qrcode-loading i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #3b82f6;
}

.qrcode-loading p {
    font-size: 13px;
}

.qrcode-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-success {
    text-align: center;
    color: #07c160;
}

.qrcode-success i {
    font-size: 60px;
    margin-bottom: 12px;
}

.qrcode-success p {
    font-size: 14px;
    font-weight: 500;
}

.qrcode-tip {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.login-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: #94a3b8;
}

.login-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-features i {
    color: #3b82f6;
}

/* 登录底部 */
.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.agreement .link {
    color: #3b82f6;
    text-decoration: none;
}

.agreement .link:hover {
    text-decoration: underline;
}

/* 用户下拉菜单 */
.user-dropdown {
    position: fixed;
    top: 80px;
    right: 100px;
    width: 260px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.user-level {
    font-size: 12px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-menu-item:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.user-menu-item i {
    width: 20px;
    text-align: center;
}

.user-menu-item.logout {
    color: #ef4444;
}

.user-menu-item.logout:hover {
    background: #fef2f2;
}

.user-menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* 模拟二维码样式 */
.qrcode-mock {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px dashed #cbd5e1;
    padding: 16px;
    text-align: center;
}

.qrcode-mock i {
    font-size: 48px;
}

.qrcode-mock.wechat i {
    color: #07c160;
}

.qrcode-mock.qq i {
    color: #12b7f5;
}

.qrcode-mock p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.qrcode-mock .btn-mock-login {
    margin-top: 8px;
    padding: 6px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qrcode-mock .btn-mock-login:hover {
    background: #2563eb;
    transform: scale(1.05);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .login-container {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .login-header h3 {
        font-size: 20px;
    }
    
    .qrcode-box {
        width: 180px;
        height: 180px;
    }
    
    .qrcode-image,
    .qrcode-mock {
        width: 160px;
        height: 160px;
    }
    
    .user-dropdown {
        position: fixed;
        top: 70px;
        right: 10px;
        width: 240px;
        z-index: 99999;
    }
    
    .btn-login .login-text {
        display: none;
    }
    
    .btn-login {
        padding: 10px;
    }
    
    .user-name-small {
        max-width: 60px;
    }
}


/* ==================== 用户中心样式 ==================== */

/* 用户中心弹窗 */
.user-center-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}

.user-center-modal.active {
    display: flex;
}

.user-center-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.user-center-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    background: white;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

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

/* 侧边栏 */
.user-center-sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    object-fit: cover;
}

.sidebar-username {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.sidebar-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-nav-item.active {
    background: #3b82f6;
    color: white;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: auto;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 主内容区 */
.user-center-content {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
}

.user-page {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.user-page.active {
    display: block;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
}

.page-title i {
    color: #3b82f6;
}

/* 个人信息页面 */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.profile-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-info-item.full-width {
    grid-column: span 2;
}

.profile-info-item label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.profile-info-item input,
.profile-info-item select {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.profile-info-item input:focus,
.profile-info-item select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.btn-change-avatar {
    padding: 8px 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change-avatar:hover {
    background: #e2e8f0;
    color: #3b82f6;
}

.profile-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

/* 学习统计 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: white;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    background: white;
    border-radius: 16px;
}

.empty-state i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.empty-state span {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.empty-state .btn {
    padding: 12px 28px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .user-center-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        flex-direction: column;
    }
    
    .user-center-sidebar {
        width: 100%;
        padding: 20px;
        flex-direction: row;
        align-items: center;
    }
    
    .sidebar-header {
        flex-direction: row;
        gap: 12px;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
        padding-right: 20px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-avatar {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 4px;
        padding: 0 10px;
    }
    
    .sidebar-nav-item {
        padding: 10px 14px;
        white-space: nowrap;
    }
    
    .sidebar-nav-item span {
        display: none;
    }
    
    .sidebar-close {
        margin-top: 0;
        margin-left: auto;
    }
    
    .user-center-content {
        flex: 1;
    }
    
    .user-page {
        padding: 24px;
    }
    
    .page-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-info-item.full-width {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card .stat-value {
        font-size: 24px;
    }
}


/* ==================== 各省中烟备考群弹窗 ==================== */

.qq-groups-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.qq-groups-modal.active {
    display: flex;
}

.qq-groups-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qq-groups-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: qqGroupsSlideUp 0.3s ease;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes qqGroupsSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qq-groups-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.qq-groups-header h3 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qq-groups-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qq-groups-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.qq-groups-content {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.qq-groups-tip {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

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

.qq-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.qq-group-item:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateX(4px);
}

.qq-group-item .province {
    width: 50px;
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.qq-group-item .qq-number {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 0.5px;
}

.qq-group-item .btn-copy {
    padding: 6px 14px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qq-group-item .btn-copy:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.qq-group-item .btn-copy.copied {
    background: #07c160;
}

/* 点击卡片效果 */
.qq-groups-card {
    transition: all 0.3s ease;
}

.qq-groups-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .qq-groups-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .qq-groups-grid {
        grid-template-columns: 1fr;
    }
    
    .qq-groups-content {
        padding: 20px;
    }
    
    .qq-group-item {
        padding: 12px;
    }
}
