/**
 * 主样式文件
 * 
 * 包含主题的主要样式定义
 * 
 * @package Zibll_Clone
 * @version 1.0.0
 */

/* ============================================
   全局字体和基础样式
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Rubik:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #1A91F0;
    --bg-color: #F8FAFC;
    --text-slate-900: #0f172a;
    --text-slate-600: #475569;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --max-width: 1280px;
}

/* ============================================
   强制 LTR（左到右）布局 - 所有语言包括日语
   ============================================ */
html,
html[dir="rtl"],
html[dir="ltr"],
body,
body[dir="rtl"],
body[dir="ltr"],
* {
    direction: ltr !important;
}

html,
body {
    text-align: left !important;
    background: var(--bg-color);
    font-family: 'Inter', 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 确保所有文本元素都是左对齐 */
p, h1, h2, h3, h4, h5, h6, div, span, a, li, td, th {
    text-align: left !important;
    direction: ltr !important;
}

/* 全局标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-slate-900);
    font-weight: 700;
    font-family: 'Inter', 'Rubik', sans-serif;
}

/* 全局正文样式 */
p, body, div, span {
    color: var(--text-slate-600);
    font-family: 'Inter', sans-serif;
}

/* 全局容器最大宽度 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   首页模块样式
   ============================================ */

/* Hero区样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-slogan {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}

.hero-value-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.value-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.value-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.value-text {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-primary:hover {
    background: #1585e0;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-illustration {
    text-align: center;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.illustration-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
}

/* 功能亮点区样式 */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.feature-link:hover {
    color: #764ba2;
}

/* 信任背书区样式 */
.trust-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.trust-subtitle {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.trust-cases {
    margin-bottom: 60px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.case-name {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.case-major {
    color: #999;
    font-size: 14px;
}

.case-scores {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.score-value {
    font-size: 32px;
    font-weight: bold;
}

.score-value.before {
    color: #e74c3c;
}

.score-value.after {
    color: #27ae60;
}

.score-arrow {
    font-size: 24px;
    color: #667eea;
    font-weight: bold;
}

.case-result {
    color: #27ae60;
    font-weight: 600;
    text-align: center;
}

.trust-certifications {
    margin-bottom: 60px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.cert-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cert-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cert-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.cert-desc {
    color: #666;
    font-size: 14px;
}

.trust-partners {
    text-align: center;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo.placeholder {
    background: #f0f0f0;
}

.logo-placeholder {
    color: #999;
    font-size: 12px;
}

/* 转化引导区样式 */
.pricing-section {
    padding: 80px 0;
    background: #fff;
}

.pricing-promo {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.promo-text {
    font-size: 18px;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.plan-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
}

.price-period {
    font-size: 18px;
    color: #999;
    margin-left: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #666;
}

.feature-icon {
    color: #27ae60;
    font-weight: bold;
}

.btn-plan {
    width: 100%;
    background: #667eea;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: block;
}

.btn-plan:hover {
    background: #764ba2;
    color: #fff;
}

.pricing-card.popular .btn-plan {
    background: #764ba2;
}

.pricing-card.popular .btn-plan:hover {
    background: #667eea;
}

/* 悬浮按钮样式 */
.floating-button-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: opacity 0.3s, transform 0.3s;
}

.floating-button-wrapper.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    font-weight: 600;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.floating-icon {
    font-size: 20px;
}

.floating-text {
    font-size: 16px;
}

/* ============================================
   全新页眉页脚样式
   ============================================ */

/* ===== 页眉样式 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body[data-theme="dark"] .site-header {
    background: #1e293b;
    border-bottom-color: #334155;
}

/* 为固定页眉留出空间 */
.site-header + * {
    margin-top: 80px;
}

/* 吸顶效果 */
.site-header.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.3s ease;
}

/* 毛玻璃效果增强 */
.site-header.header-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* 滚动时的阴影增强 */
.site-header.header-sticky.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

/* 为固定导航栏留出空间 */
.site-header.header-sticky + * {
    margin-top: 70px;
}

/* ===== 三栏布局 ===== */
.header-content.header-three-column {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
    min-height: 70px;
}

/* ===== 左侧 Logo + 品牌标语 ===== */
.header-left {
    flex-shrink: 0;
}

.site-logo-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.site-logo-link:hover {
    opacity: 0.8;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a202c;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.4;
    margin-left: 52px; /* 对齐到 Logo 文字下方 */
}

/* ===== 中间导航菜单 ===== */
.header-nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    font-size: 15px;
    font-weight: 500;
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}

.main-menu a:hover {
    color: #667eea;
}

.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    color: #667eea;
    font-weight: 600;
}

.main-menu .current-menu-item > a::after,
.main-menu .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

/* ===== 右侧功能区 ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== 多语言切换器 ===== */
.language-switcher {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #1a202c;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.15);
}

.language-button i {
    font-size: 10px;
    transition: transform 0.2s;
}

.language-switcher:focus-within .language-button i,
.language-switcher:hover .language-button i {
    transform: rotate(180deg);
}

.language-flag {
    font-size: 18px;
    line-height: 1;
}

.language-text {
    font-weight: 500;
    font-size: 14px;
    color: #1a202c;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 8px;
    margin: 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.language-switcher:focus-within .language-menu,
.language-switcher:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    margin: 0;
}

.language-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #1a202c;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.language-menu li a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.language-menu .language-flag {
    font-size: 20px;
}

.language-menu .language-text {
    font-weight: 500;
}

/* ===== Sign In / Sign Up 按钮 ===== */
.btn-signin {
    padding: 10px 20px;
    background: transparent;
    color: #1a202c;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-signin:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a202c;
}

.btn-signup {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .header-content.header-three-column {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }
    
    .header-nav {
        display: none; /* 移动端隐藏导航菜单，使用汉堡菜单 */
    }
}

@media (max-width: 768px) {
    .header-content.header-three-column {
        padding: 12px 0;
        min-height: 60px;
        gap: 12px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .logo-tagline {
        font-size: 11px;
        margin-left: 48px;
    }
    
    .btn-signin,
    .btn-signup {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .language-text {
        display: none;
    }
    
    .language-button {
        padding: 8px;
    }
}

/* 三种 PC 布局在结构上类似，这里主要控制左右两侧对齐与间距 */
.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo和品牌 */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

.site-logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

/* ===== PathResume Logo 样式 ===== */
.pathresume-branding {
    display: flex;
    align-items: center;
}

.pathresume-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.pathresume-logo-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.pathresume-logo-text {
    font-size: 20px;
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pathresume-logo-path {
    color: #1e293b;
}

.pathresume-logo-resume {
    color: #475569;
}

/* 主导航菜单 */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* ===== PathResume 导航菜单样式 ===== */
.pathresume-nav .pathresume-menu {
    gap: 32px;
}

.pathresume-nav .pathresume-menu a {
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: color 0.2s;
}

.pathresume-nav .pathresume-menu a:hover {
    color: #1e293b;
    opacity: 1;
}

/* 图标按钮 */
.header-icon {
    background: none;
    border: none;
    font-size: 20px;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: opacity 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon:hover {
    opacity: 0.7;
}

/* 语言下拉 */
.header-language {
    position: relative;
}

.language-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    list-style: none;
    padding: 8px 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.language-menu li a {
    display: block;
    padding: 6px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.language-menu li a:hover {
    background: #f5f5f5;
}

/* ===== PathResume 右侧操作按钮样式 ===== */
.pathresume-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 深色模式切换按钮（圆形） */
.pathresume-dark-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.pathresume-dark-toggle:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* 语言选择器（矩形） */
.pathresume-language-selector {
    position: relative;
}

.pathresume-language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pathresume-language-button:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.pathresume-language-button i:first-child {
    font-size: 14px;
}

.pathresume-language-text {
    font-size: 14px;
    font-weight: 500;
}

.pathresume-language-button i:last-child {
    font-size: 10px;
    margin-left: 2px;
}

.pathresume-language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 140px;
    display: none;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.pathresume-language-selector.open .pathresume-language-menu,
.pathresume-language-selector:hover .pathresume-language-menu,
.pathresume-language-selector:focus-within .pathresume-language-menu {
    display: block;
}

.pathresume-language-menu li {
    margin: 0;
}

.pathresume-language-menu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    transition: background 0.2s;
}

.pathresume-language-menu li a:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* DASHBOARD 按钮（蓝色，白色文字） */
.pathresume-dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    cursor: pointer;
}

.pathresume-dashboard-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: #fff;
}

.header-language.open .language-menu {
    display: block;
}

/* 发布按钮 */
.header-publish-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.nav-publish-btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-publish-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 移动端布局 */
.mobile-logo {
    display: none;
}

.mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

/* 移动端菜单样式增强 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    z-index: 10000;
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
}

/* 左侧弹出 */
.mobile-menu.mobile-menu-left {
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu.mobile-menu-left .mobile-menu-content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    max-width: 400px;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.mobile-menu.mobile-menu-left.active .mobile-menu-content {
    transform: translateX(0);
}

/* 右侧弹出 */
.mobile-menu.mobile-menu-right {
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu.mobile-menu-right .mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    max-width: 400px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.mobile-menu.mobile-menu-right.active .mobile-menu-content {
    transform: translateX(0);
}

/* 顶部弹出 */
.mobile-menu.mobile-menu-top {
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu.mobile-menu-top .mobile-menu-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-height: 80vh;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu.mobile-menu-top.active .mobile-menu-content {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 隐藏电脑端元素 */
    .header-content .header-left,
    .header-content .header-right,
    .header-publish-buttons {
        display: none;
    }
    
    /* 显示移动端元素 */
    .mobile-menu-toggle,
    .mobile-logo,
    .mobile-actions {
        display: flex;
        align-items: center;
    }

    /* 确保 Burger Menu 在移动端显示 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 移动端布局1：菜单-Logo-搜索 */
    .header-content.nav-layout-layout1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* 移动端布局2：Logo-搜索-菜单 */
    .header-content.nav-layout-layout2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-slogan {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* 所有 Grid 布局在 md 断点下自动切换为单列 */
    .features-grid,
    .cases-grid,
    .pricing-grid,
    .es-path-entry-grid,
    [class*="-grid"],
    [class*="grid"] {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .floating-button-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        padding: 12px 20px;
    }
    
    .floating-text {
        display: none;
    }
    
    .es-module-container {
        margin-bottom: 20px;
    }
}

/* 模块容器样式 */
.es-module-container {
    margin-bottom: 0;
}

.es-module-fullwidth {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* 移动端菜单样式 - Burger Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 10001;
}

.mobile-menu-toggle .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 18px;
    position: relative;
}

.mobile-menu-toggle .menu-icon::before,
.mobile-menu-toggle .menu-icon::after,
.mobile-menu-toggle .menu-icon span {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-slate-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .menu-icon span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle.active .menu-icon::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle.active .menu-icon span {
    opacity: 0;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    background: #fff;
    width: 80%;
    max-width: 400px;
    height: 100%;
    padding: 0;
    overflow-y: auto;
    position: relative;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    color: #333;
}

.mobile-menu-content .es-module-container {
    margin: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-navigation {
    padding: 20px;
}

.mobile-navigation #mobile-primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-navigation #mobile-primary-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-navigation #mobile-primary-menu li:last-child {
    border-bottom: none;
}

.mobile-navigation #mobile-primary-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    font-size: 16px;
    transition: color 0.3s;
}

.mobile-navigation #mobile-primary-menu a:hover {
    color: #0073aa;
}

/* 全宽布局 */
.full-width {
    grid-template-columns: 1fr !important;
}

/* 文章缩略图样式 */
.post-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* 阅读更多链接 */
.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #005a87;
    color: #fff;
}

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

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* 标签样式 */
.post-tags {
    margin-top: 20px;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: #0073aa;
    color: #fff;
}

/* 作者简介样式 */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 40px 0;
}

.author-avatar img {
    border-radius: 50%;
}

.author-name {
    margin-bottom: 10px;
}

.author-name a {
    color: #2c3e50;
    text-decoration: none;
}

.author-description {
    color: #666;
    line-height: 1.6;
}

/* 相关文章样式 */
.related-posts {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.related-posts-title {
    margin-bottom: 20px;
    font-size: 24px;
    color: #2c3e50;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post-thumbnail {
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.1);
}

.related-post-title {
    padding: 15px;
    margin: 0;
}

.related-post-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
}

.related-post-title a:hover {
    color: #0073aa;
}

.related-post-meta {
    padding: 0 15px 15px;
    color: #999;
    font-size: 14px;
}

/* 着陆页样式 */
.landing-page .landing-hero {
    position: relative;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.landing-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.hero-title {
    font-size: 48px;
    margin: 0;
    color: #fff;
}

/* 底部小工具区域 */
.footer-widgets {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.footer-column .widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.footer-column .widget ul {
    list-style: none;
}

.footer-column .widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-column .widget a:hover {
    color: #fff;
}

.site-info {
    padding-top: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.site-info a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.site-info a:hover {
    color: #fff;
}

.theme-info {
    margin-top: 10px;
    font-size: 12px;
}

/* 404页面样式 */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 .post-title {
    font-size: 72px;
    margin-bottom: 20px;
    color: #0073aa;
}

.error-404 .post-content ul {
    list-style: none;
    margin-top: 20px;
}

.error-404 .post-content li {
    margin: 10px 0;
}

/* 搜索表单样式 */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-submit {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #005a87;
}

.search-form-wrapper {
    margin-top: 20px;
}

/* 归档页面标题 */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.archive-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 评论样式 */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.comment {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-meta {
    font-size: 14px;
    color: #999;
}

.comment-content {
    margin-top: 15px;
    line-height: 1.6;
}

.comment-form {
    margin-top: 30px;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 15px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .footer-widget-area {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-submit {
        width: 100%;
    }
}

/* ============================================
   侧边栏布局样式
   ============================================ */

/* 容器和内容区域基础样式 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.content-wrapper {
    flex: 1;
}

/* 侧边栏基础样式 */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 无侧边栏布局 */
.no-sidebar .content-area {
    flex-direction: column;
}

.no-sidebar .content-wrapper {
    width: 100%;
}

.no-sidebar .sidebar {
    display: none;
}

/* 右侧边栏布局（默认） */
.sidebar-right .content-area {
    flex-direction: row;
}

.sidebar-right .content-wrapper {
    order: 1;
}

.sidebar-right .sidebar {
    order: 2;
}

/* 左侧边栏布局 */
.sidebar-left .content-area {
    flex-direction: row;
}

.sidebar-left .content-wrapper {
    order: 2;
}

.sidebar-left .sidebar {
    order: 1;
}

/* 响应式：移动端隐藏侧边栏 */
@media (max-width: 768px) {
    .content-area {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100%;
        order: 2 !important;
    }
    
    .content-wrapper {
        order: 1 !important;
        width: 100% !important;
    }
}

/* ============================================
   PathResume 页脚样式
   ============================================ */

.pathresume-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

/* 左侧：Logo + 标语 + 支持邮箱 */
.pathresume-footer-left {
    max-width: 320px;
}

.pathresume-footer-logo {
    margin-bottom: 16px;
}

.pathresume-footer-logo .pathresume-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.pathresume-footer-logo .pathresume-logo-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.pathresume-footer-logo .pathresume-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pathresume-footer-tagline {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.pathresume-footer-support {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pathresume-footer-support i {
    color: #94a3b8;
    font-size: 18px;
    margin-top: 2px;
}

.pathresume-footer-support-text {
    flex: 1;
}

.pathresume-footer-support-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.pathresume-footer-support-text a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.pathresume-footer-support-text a:hover {
    color: #3b82f6;
}

/* 中间：四列菜单 */
.pathresume-footer-menus {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.pathresume-footer-menu-column {
    display: flex;
    flex-direction: column;
}

.pathresume-footer-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pathresume-footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pathresume-footer-menu-list li {
    margin: 0;
}

.pathresume-footer-menu-list a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.pathresume-footer-menu-list a:hover {
    color: #1e293b;
}

/* 底部：版权信息 + 社交媒体 */
.pathresume-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.pathresume-footer-copyright {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.pathresume-footer-social-link {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.pathresume-footer-social-link:hover {
    color: #1e293b;
}

/* 响应式 */
@media (max-width: 1024px) {
    .pathresume-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pathresume-footer-left {
        max-width: 100%;
    }

    .pathresume-footer-menus {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .pathresume-footer {
        padding: 40px 0 20px;
    }

    .pathresume-footer-menus {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pathresume-footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
