@charset "UTF-8";
/**
 * RiaFlow Theme - 主样式文件
 * 
 * @package RiaFlow_Theme
 * @version 1.0.0
 */

/* ==========================================
   字体导入
   ========================================== */
@import url('fonts.css');

/* ==========================================
   CSS 变量定义
   ========================================== */

:root {
    /* 主色调 */
    --primary-gradient: linear-gradient(275deg, #165DFF 0%, #C98FF7 97%);
    --secondary-gradient: linear-gradient(135deg, #7a40f2, #a86bec);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* 背景色 */
    --bg-primary: #0E121C;
    --bg-secondary: #1a1f2e;
    --bg-card: #1e2433;
    --bg-light: rgba(255, 255, 255, 0.05);
    
    /* 文本颜色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-quaternary: rgba(0, 0, 0, 0.9);
    
    /* 阴影 */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* 圆角 */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    
    /* 布局 */
    --container-max-width: 1200px;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   基础样式重置
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 
                 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   导航栏样式
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    background: var(--bg-primary);
}

.navbar.scrolled {
    background: var(--bg-primary);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 14px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    height: 42px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

.logo-link:hover {
    opacity: 0.8;
}

.logo img,
.custom-logo {
    height: 100%;
    width: auto;
    max-height: 54px;
}

/* 导航菜单 */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    font-family: MiSans;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0em;
    font-weight: 400;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 1px;
    opacity: 1;
    background: #FFFFFF;
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 28px;
}

/* PC端当前页面菜单链接样式 */
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a {
    font-weight: 600;
}

/* 导航操作按钮 */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-primary {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
    width: 104px;
    height: 31px;
    border-radius: 12px;
    opacity: 1;
    /* 自动布局 */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
    gap: 10px;
    /* 渐变 */
    background: linear-gradient(270deg, #165DFF 0%, #8232DB 100%);
    box-shadow: 0px 2px 3px 0px rgba(141, 80, 242, 0.2),0px 4px 6px 0px rgba(141, 80, 242, 0.2);
}

.btn-primary:hover {
        transform: translateY(-2px);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), linear-gradient(270deg, #165DFF 0%, #8232DB 100%);
    box-shadow: 0px 0px 16px 0px rgba(197, 162, 255, 0.3), 0px 2px 3px 0px rgba(141, 80, 242, 0.2), 0px 4px 6px 0px rgba(141, 80, 242, 0.2);
}
.nav-actions .btn-primary {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    pointer-events: none;
}

/* 汉堡菜单图标 */
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 12px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hamburger svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 关闭图标 */
.close-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.close-icon svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 菜单打开时切换图标 */
.mobile-menu-toggle.active .hamburger {
    opacity: 0;
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* 菜单打开时防止背景滚动 */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ==========================================
   固定侧边栏
   ========================================== */
.fixed-sidebar {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 8px 12px rgba(17, 34, 45, 0.05), 0px 16px 24px rgba(17, 34, 45, 0.05);
    padding: 0;
    width: 88px;
    border-radius: 16px;

}

.sidebar-item {
    position: relative;
}



.sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: #FFFFFF;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid #fff;
}

.sidebar-link:hover {
    background: #F9F6FF;
    box-sizing: border-box;
    border: 1px solid #B286FF;
}


.sidebar-item[data-action="trial"]::after {
    display: none;
}

.sidebar-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 21px;
}

.sidebar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-text {
    font-family: MiSans;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0em;
    
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.9);
    text-align: center;
    margin-bottom: 8px;
}

/* 二维码弹出层 */
.sidebar-popup {
    display: none; 
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 0px 10px 0px rgba(17, 34, 45, 0.05), 0px 0px 20px 0px rgba(17, 34, 45, 0.05);
    padding: 12px;
    z-index: 999;
}

.sidebar-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #FFFFFF;
}

.sidebar-popup-trigger:hover .sidebar-popup,
.sidebar-popup:hover {
    display: block;
}

/* 双二维码容器 */
.sidebar-qrcode-popup .qrcode-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sidebar-qrcode-popup .qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

.sidebar-qrcode-popup .qrcode-img {
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid rgba(78, 44, 182, 0.2);

}

.sidebar-qrcode-popup .qrcode-label {
    font-family: 'MiSans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
    text-align: center;
    margin: 0;
}

/* 联系信息弹出层 */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
}

.contact-info-item:not(:last-child) {
    margin-bottom: 8px;
}

.sidebar-contact-popup .contact-icon {
    width: 16px;
    height: 16px;
    opacity: 1;
    background: #FFFFFF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0px;
}



.sidebar-contact-popup .contact-text {
    flex: 1;
}

.sidebar-contact-popup .contact-value {
    font-family: 'MiSans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.9);
    margin: 0;
    line-height: normal;
    letter-spacing: 0em;
}

/* 移动端隐藏侧边栏 */
@media (max-width: 1024px) {
    .fixed-sidebar {
        display: none;
    }
}

/* ==========================================
   页面内容区域
   ========================================== */
/* .site-content {
    padding-top: 80px;
    min-height: calc(100vh - 60px - 261px);
} */

.content-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

/* ==========================================
   页脚样式
   ========================================== */
.site-footer {
    background: rgba(0, 0, 0, 0.9);
    height: 325px;
    margin-top: 0;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 页脚主要内容区 */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding: 40px 0 32px;
    min-height: 260px;
}

/* Logo和品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.footer-logo{
    margin-bottom: 4px;
    margin-left: -10px;
}

.footer-logo h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.footer-description {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

/* 菜单栏区域 */
.footer-menus {
    display: flex;
    gap: 80px;
    flex: 1;
    justify-content: right;
}

.footer-menu-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu-title {
    color: var(--text-primary);
    font-family: MiSans;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
}

.footer-menu-list,
.footer-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu-list li,
.footer-menu-column ul li {
    margin: 0;
}

.footer-menu-list a,
.footer-menu-column ul a {
    color: rgba(255, 255, 255, 0.6);
    font-family: MiSans;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-menu-list a:hover,
.footer-menu-column ul a:hover {
    color: var(--text-primary);
}

/* 联系我们区域 */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.footer-contact-title {
    color: var(--text-primary);
    font-family: MiSans;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-family: MiSans;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    opacity: 1;
    background: #FFFFFF;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
}

.contact-icon path {
    fill: #010203;
}

.footer-qrcodes {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.qrcode-item {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.qrcode-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分割线 */
.footer-divider {
    height: 1px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
    width: 100%;
}

/* 版权信息 */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 64px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-family: MiSans;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin: 0;
}

.footer-copyright p {
    margin: 0;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-copyright a:hover {
    color: var(--text-primary);
}

/* 桌面端显示单行，隐藏多行 */
.copyright-desktop {
    display: block;
}

.copyright-mobile {
    display: none;
}

/* 移动端底部横条 - 默认隐藏 */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* ==========================================
   按钮样式
   ========================================== */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-secondary {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 18px;
}

/* ==========================================
   卡片样式
   ========================================== */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   标题样式
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* ==========================================
   链接样式
   ========================================== */
a {
    color: #8b5cf6;
    transition: color var(--transition-normal);
}

/* ==========================================
   图片样式
   ========================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}





/* ==========================================
   动画效果
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   懒加载效果
   ========================================== */
.lazy-load-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.lazy-load-item.lazy-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   工具类
   ========================================== */
.text-center {
    text-align: center;
}


.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }

/* 响应式隐藏工具类：在移动端（≤768px）隐藏元素 */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}


/* ==========================================
   文章列表样式
   ========================================== */
.post-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content-wrapper {
    padding: var(--spacing-md);
}

.entry-header {
    margin-bottom: var(--spacing-sm);
}

.entry-title {
    margin-bottom: var(--spacing-sm);
}

.entry-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.entry-title a:hover {
    color: #a78bfa;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-meta i {
    color: #8b5cf6;
}

.entry-meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--text-primary);
}

.entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1rem;
}

.read-more-btn {
    margin-top: var(--spacing-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.post-tags i {
    color: #8b5cf6;
}

.post-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: var(--text-primary);
}

/* ==========================================
   分页导航
   ========================================== */
.posts-navigation,
.post-navigation {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-previous a:hover,
.nav-next a:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(-5px);
}

.nav-next a:hover {
    transform: translateX(5px);
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
}

/* ==========================================
   页面模板样式
   ========================================== */
.page-template .entry-header,
.single-post-template .entry-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.page-featured-image {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.page-featured-image img {
    width: 100%;
    height: auto;
}

/* ==========================================
   未找到内容样式
   ========================================== */
.no-results {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.not-found-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.no-results .page-title {
    margin-bottom: var(--spacing-md);
}

.no-results .page-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   搜索表单
   ========================================== */
.search-form {
    max-width: 500px;
    margin: var(--spacing-md) auto;
    display: flex;
    gap: var(--spacing-sm);
}

.search-form label {
    flex: 1;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 16px;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #8b5cf6;
}

.search-form input[type="submit"] {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(270deg, #165DFF 0%, #8232DB 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

/* ==========================================
   表单验证错误样式
   ========================================== */
.contact-form input.error,
.contact-form textarea.error {
    border-color: #ef4444 !important;
}

/* ==========================================
   评论样式
   ========================================== */
.comments-area {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    margin-bottom: var(--spacing-md);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.comment-content p {
    margin-bottom: 0.5rem;
}

.reply {
    margin-top: var(--spacing-sm);
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.comment-reply-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

/* ==========================================
   CTA区域（行动号召）
   ========================================== */
.cta-section {
    background: var(--bg-primary);
    background-image: url('../images/bg/现在开始体验我们的Agent吧背景@1x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
    padding-top: 140px;
}

.cta-title {
    margin-bottom: 48px;
    color: var(--text-primary);
    font-family: MiSans;
    font-size: 36px;
    font-weight: 600;
    line-height: normal;
    font-feature-settings: "kern" on;
}


.cta-actions {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 120px;
    justify-content: center;
}
.cta-actions .btn-primary {
    width: 172px;
    height: 57px;
    border-radius: 16px;
    opacity: 1;
    font-family: MiSans;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0em;
    box-shadow: 0px 2px 3px 0px rgba(141, 80, 242, 0.2), 0px 4px 6px 0px rgba(141, 80, 242, 0.2), 0px 8px 12px 0px rgba(141, 80, 242, 0.2), 0px 12px 18px 0px rgba(141, 80, 242, 0.2);
}

/* ==========================================
   响应式设计
   ========================================== */
/* @media (max-width: 1024px) {

  
  
} */

/* 平板设备优化 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
   .nav-container {
        padding: 0 40px;
    }
    /* Footer 菜单栏布局优化 - 内容宽度自适应，间隔平均分配 */
    .footer-menus {
        gap: 0;
        justify-content: space-between;
    }
    
    .footer-menu-column {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    /* 移动端导航 */
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        background: var(--bg-primary);
        padding: 16px;
        transition: right var(--transition-normal);
        overflow-y: auto;
        border-radius: 16px 0 0 0;
        opacity: 1;
        box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .main-navigation.active {
        right: 0;
    }

    
    .nav-links {
        flex-direction: column;
        gap: 8px !important;
        width: 100%;
    }
    
 
    
    .nav-links a {
        display: block;
        font-family: MiSans;
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: 0em;
        
        padding: 12px 8px;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* 移动端当前页面菜单链接样式 */
    .nav-links li.current-menu-item a,
    .nav-links li.current_page_item a {
        border-radius: 8px;
        opacity: 1;
        background: rgba(68, 125, 255, 0.06);
        box-sizing: border-box;
        border: 1px solid rgba(68, 125, 255, 0.2);

    }
    
    /* 移动端内容 */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* 移动端页脚 */
    .site-footer {
        height: auto;
        padding-top: 32px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 5px;
        padding: 0;
    }
    
    /* 品牌区域 - 移动端在最上面 */
    .footer-brand {
        order: -2;
        align-items: flex-start;
        gap: 0px;
    }
    
    
    .footer-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 8px;
    }
    
    /* 联系方式 - 移动端紧跟品牌区域 */
    .footer-contact {
        order: -1;
        width: 100%;
        gap: 12px;
        margin-bottom: 40px;
 
    }
    
    .footer-contact-title {
        display: none;
    }
    
    
    .contact-icon {
        width: 24px;
        height: 24px;
    }

    
    /* 菜单区域 - 两列布局 */
    .footer-menus {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 40px;
        order: 0;
    }
    
    .footer-menu-column {
        flex: 0 0 calc(50% - 20px);
        gap: 12px;
    }
    
    .footer-menu-column:nth-child(3) {
        margin-top: -68px;
    }
    

    .footer-menu-list,
    .footer-menu-column ul {
        gap: 8px;
    }
    
    .footer-menu-list a,
    .footer-menu-column ul a {
        font-size: 14px;
        line-height: 20px;
    }
    
    /* 分割线 */
    .footer-divider {
        margin: 40px 0 0 0;
    }
    
    /* 版权信息 */
    .footer-bottom {
        height: 181px;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .footer-copyright {
        text-align: left;
    }
    
    /* 移动端隐藏单行，显示多行 */
    .copyright-desktop {
        display: none;
    }
    
    .copyright-mobile {
        display: block;
    }
    
    .copyright-mobile p {
        font-size: 14px;
        line-height: 18px;
        color: rgba(255, 255, 255, 0.3);
        margin: 0 0 2px 0;
    }
    
    .copyright-mobile p:last-child {
        margin-bottom: 0;
    }
    
    .copyright-mobile a {
        color: rgba(255, 255, 255, 0.3);
    }
    
    /* 移动端底部横条显示 */
    .mobile-bottom-bar {
        display: block;
        width: 144px;
        height: 5px;
        border-radius: 100px;
        background: #FFFFFF;
        opacity: 1;
        bottom: 0;
        margin-bottom: 8px;
        transform: translateX(-50%) rotate(180deg);
    }
    
    /* 移动端 CTA 区域 */
    .cta-container
    {
        padding-top: 80px;
    }
    .cta-title {
        font-size: 23px;
        margin-bottom: 36px;
    }
    .cta-actions
    {
        padding-bottom: 85px;
    }
    
}