/* Aivora 企业官网自定义样式 */

/* 基础变量 */
:root {
    --aivora-primary: #0066cc;
    --aivora-primary-dark: #0052a3;
    --aivora-secondary: #003366;
    --aivora-accent: #00a0e9;
    --aivora-dark: #1a1a1a;
    --aivora-gray: #666666;
    --aivora-light: #f5f5f5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* ===== 页脚样式 ===== */
.aivora-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0ea5e9 100%);
    color: white;
    padding: 3rem clamp(1.5rem, 4vw, 4rem) 1.5rem;
}

/* 页脚主内容区 */
.aivora-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 左侧区域 */
.aivora-footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

/* Logo 区域 */
.aivora-footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aivora-footer-logo {
    height: 40px;
    width: auto;
}

.aivora-footer-copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* 导航链接 */
.aivora-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aivora-footer-links li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.aivora-footer-links li a:hover {
    color: white;
}

/* ===== 二维码区域 - 强制横向并排 ===== */
.aivora-footer-qr-section {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    align-items: flex-start !important;
    justify-content: flex-end;
    flex-shrink: 0;
}

.aivora-footer-qr-section .aivora-footer-qr-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
}

.aivora-footer-qr-section .aivora-footer-qr-item img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.aivora-footer-qr-section .aivora-footer-qr-item p {
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.8) !important;
    margin: 0 !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

/* 底部信息 */
.aivora-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.aivora-footer-address {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
}

.aivora-footer-address-en {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.42);
    letter-spacing: 0.01em;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .aivora-footer-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .aivora-footer-left {
        align-items: center;
        min-width: auto;
    }
    
    .aivora-footer-qr-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .aivora-footer {
        padding: 2rem 1rem 1rem;
    }
    
    .aivora-footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .aivora-footer-links {
        justify-content: center;
    }
    
    /* 小屏幕二维码垂直堆叠 */
    .aivora-footer-qr-section {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .aivora-footer-qr-section .aivora-footer-qr-item img {
        width: 100px !important;
        height: 100px !important;
    }
}

/* ===== 大屏 Footer 自适应 ===== */
@media (min-width: 1920px) {
    .aivora-footer {
        padding: 4rem clamp(2rem, 3vw, 4rem) 2rem;
    }

    .aivora-footer-content {
        max-width: 1600px;
        gap: 3rem;
    }

    .aivora-footer-logo {
        height: 50px;
    }

    .aivora-footer-links li a {
        font-size: 1rem;
    }

    .aivora-footer-qr-section .aivora-footer-qr-item img {
        width: 140px !important;
        height: 140px !important;
    }
}

@media (min-width: 2560px) {
    .aivora-footer {
        padding: 5rem clamp(3rem, 4vw, 6rem) 2.5rem;
    }

    .aivora-footer-content {
        max-width: 2000px;
        gap: 4rem;
    }

    .aivora-footer-logo {
        height: 60px;
    }

    .aivora-footer-links li a {
        font-size: 1.1rem;
    }

    .aivora-footer-qr-section .aivora-footer-qr-item img {
        width: 160px !important;
        height: 160px !important;
    }
}

/* ===== 导航栏样式 ===== */
.aivora-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.aivora-nav-container {
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem clamp(1.5rem, 4vw, 4rem);
    gap: 2rem;
}

/* Logo 区域 */
.aivora-logo-wrapper {
    flex-shrink: 0;
}

.aivora-logo-image {
    margin: 0;
    padding: 0;
}

.aivora-logo-image img {
    width: 180px;
    height: auto;
    display: block;
}

/* 主菜单 */
.aivora-nav-menu {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.aivora-nav-menu > li {
    position: relative;
}

.aivora-nav-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.aivora-nav-menu > li > a:hover,
.aivora-nav-menu > li > a.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

/* 下拉菜单 */
.aivora-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.aivora-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aivora-nav-menu .sub-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.aivora-nav-menu .sub-menu li a:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

/* 右侧功能区 */
.aivora-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* 搜索框 */
.aivora-search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.aivora-search-box:focus-within {
    background: #ffffff;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.aivora-search-input {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    width: 180px;
    outline: none;
}

.aivora-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aivora-search-btn:hover {
    color: #0066cc;
}

.aivora-search-btn svg {
    width: 18px;
    height: 18px;
}

/* 语言切换 */
.aivora-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-left: 1rem;
}

.aivora-lang-switch button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: #666;
    transition: color 0.2s ease;
}

.aivora-lang-switch button.active {
    color: #0066cc;
    font-weight: 600;
}

.aivora-lang-switch button:hover {
    color: #0066cc;
}

.aivora-lang-separator {
    color: #ccc;
}
/* 用户下拉菜单 */
.aivora-user-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.aivora-user-btn:hover,
.aivora-user-btn.active {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}
.aivora-user-btn .user-icon {
    width: 18px;
    height: 18px;
    color: #666;
}
.aivora-user-btn .btn-text {
    font-size: 0.85rem;
    color: #333;
}
.aivora-user-btn .dropdown-arrow {
    width: 14px;
    height: 14px;
    color: #999;
    transition: transform 0.2s ease;
}
.aivora-user-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}
.aivora-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 2rem;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
}
.aivora-user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 导航栏菜单强制单行显示 */
.aivora-nav-container {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aivora-nav-menu {
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.aivora-nav-menu::-webkit-scrollbar {
    display: none;
}

.aivora-nav-menu > li {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Logo 固定宽度 */
.aivora-logo-wrapper {
    flex-shrink: 0 !important;
}

/* 右侧功能区不压缩 */
.aivora-nav-right {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 搜索框在小屏幕缩小 */
@media (max-width: 768px) {
    .aivora-search-input {
        width: 120px;
    }
    
    .aivora-search-box {
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 640px) {
    .aivora-search-input {
        width: 100px;
    }
    
    .aivora-lang-switch {
        display: none;
    }
}

/* 导航栏单行显示增强 */
@media (max-width: 1200px) {
    .aivora-nav-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }
    
    .aivora-nav-menu > li > a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .aivora-logo-image img {
        width: 150px;
    }
    
    .aivora-nav-menu > li > a {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .aivora-logo-image img {
        width: 120px;
    }
    
    .aivora-nav-menu > li > a {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .aivora-user-btn .btn-text {
        display: none;
    }
}

@media (max-width: 640px) {
    .aivora-logo-image img {
        width: 100px;
    }
    
    .aivora-nav-menu > li > a {
        padding: 0.4rem;
        font-size: 0.7rem;
    }
    
    .aivora-search-box {
        display: none;
    }
}

/* ===== 大屏导航自适应 ===== */
@media (min-width: 1920px) {
    .aivora-nav-container {
        padding: 1rem clamp(2rem, 3vw, 4rem);
    }

    .aivora-logo-image img {
        width: 200px;
    }

    .aivora-nav-menu > li > a {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

@media (min-width: 2560px) {
    .aivora-nav-container {
        padding: 1.2rem clamp(3rem, 4vw, 6rem);
    }

    .aivora-logo-image img {
        width: 220px;
    }

    .aivora-nav-menu > li > a {
        padding: 0.7rem 1.5rem;
        font-size: 1.05rem;
    }
}

/* ===== 导航栏下拉箭头和 Hover 效果优化 ===== */
/* 有子菜单的菜单项 */
.aivora-nav-menu .menu-item-has-children {
    position: relative;
}

/* 菜单项链接布局 */
.aivora-nav-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* 下拉箭头样式 */
.aivora-nav-menu .menu-arrow {
    width: 14px;
    height: 14px;
    color: #666;
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}

/* Hover 时箭头旋转 180 度 */
.aivora-nav-menu .menu-item-has-children:hover > a .menu-arrow {
    transform: rotate(180deg);
    color: #0066cc;
}

/* 菜单项 Hover 效果 */
.aivora-nav-menu .menu-item-has-children > a:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

/* 下拉菜单容器优化 */
.aivora-nav-menu .sub-menu {
    min-width: 220px;
    padding: 0.75rem 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

/* 下拉菜单项 */
.aivora-nav-menu .sub-menu li a {
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.aivora-nav-menu .sub-menu li a:hover {
    background: rgba(0, 102, 204, 0.08);
    border-left-color: #0066cc;
    padding-left: 1.5rem;
}

/* 首页菜单项特殊处理 */
.aivora-nav-menu > li:first-child > a {
    padding-left: 0;
}

/* ===== 应用场景子菜单激活状态 ===== */
.aivora-nav-menu .sub-menu li.current-menu-item a {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    font-weight: 600;
}
/* 修复下拉菜单显示问题 */
.aivora-nav-menu .menu-item-has-children .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0.75rem 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.2s ease !important;
    z-index: 1001 !important;
    border: 1px solid rgba(0, 102, 204, 0.1) !important;
}

.aivora-nav-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
/* 导航栏下拉菜单强制显示修复 - 覆盖块编辑器样式 */
.aivora-header .aivora-nav-menu li.menu-item-has-children ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
    z-index: 9999 !important;
    display: block !important;
}

.aivora-header .aivora-nav-menu li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

/* 确保子菜单项可点击 */
.aivora-header .aivora-nav-menu li.menu-item-has-children ul.sub-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aivora-header .aivora-nav-menu li.menu-item-has-children ul.sub-menu li a {
    display: block !important;
    padding: 0.6rem 1.2rem !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

.aivora-header .aivora-nav-menu li.menu-item-has-children ul.sub-menu li a:hover {
    background: rgba(0, 102, 204, 0.08) !important;
    color: #0066cc !important;
}

/* 测试：强制显示所有子菜单 - 用于调试 */
/* .aivora-nav-menu .menu-item-has-children > ul.sub-menu { */
/*     display: block !important; */
/*     opacity: 1 !important; */
/*     visibility: visible !important; */
/* } */
/* 覆盖 WordPress 块编辑器布局样式 */
.aivora-header.is-layout-flow,
.wp-block-group.is-layout-flow {
    overflow: visible !important;
}

/* 确保导航菜单不受块布局影响 */
.wp-site-blocks .aivora-nav-menu {
    overflow: visible !important;
}


/* ===== 修复导航栏下拉菜单被 Banner 遮挡问题 ===== */
/* 确保页头在所有内容之上，包括 Banner */
.aivora-header {
    z-index: 1000000 !important;
    position: relative !important;
}

/* 导航容器 */
.aivora-nav-container {
    z-index: 1000001 !important;
    position: relative !important;
}

/* 下拉菜单最高层级 */
.aivora-nav-menu .menu-item-has-children ul.sub-menu {
    z-index: 1000002 !important;
    position: absolute !important;
}

/* 限制 Banner 区域不要覆盖页头 */
.aivora-banner,
.aivora-home-page > .aivora-banner,
div[class*="aivora-banner"] {
    z-index: 1 !important;
    position: relative !important;
}

/* 移除导航栏可能的滚动条 */
.aivora-header,
.aivora-nav-container,
.aivora-nav-menu {
    overflow-x: visible !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.aivora-nav-menu::-webkit-scrollbar {
    display: none !important;
}
cat: /tmp/login-dropdown-styles.css: No such file or directory
/* ========== 登录/注册下拉菜单样式 ========== */
.aivora-user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000001;
  display: none;
  overflow: hidden;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

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

.aivora-user-btn.active + .aivora-user-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* 表单内容区域 */
.aivora-user-dropdown .form-content {
  display: none !important;
  padding: 24px;
}

.aivora-user-dropdown .form-content.active {
  display: block !important;
}

/* 表单头部 */
.aivora-user-dropdown .form-header {
  text-align: center;
  margin-bottom: 20px;
}

.aivora-user-dropdown .form-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.aivora-user-dropdown .form-header .form-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* 表单组 */
.aivora-user-dropdown .form-group {
  margin-bottom: 16px;
}

.aivora-user-dropdown .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.aivora-user-dropdown .form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}

.aivora-user-dropdown .form-group input[type="text"],
.aivora-user-dropdown .form-group input[type="email"],
.aivora-user-dropdown .form-group input[type="tel"],
.aivora-user-dropdown .form-group input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.aivora-user-dropdown .form-group input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.aivora-user-dropdown .form-group input::placeholder {
  color: #999;
}

/* 密码输入框 */
.aivora-user-dropdown .password-input-wrapper {
  position: relative;
}

.aivora-user-dropdown .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #666;
}

.aivora-user-dropdown .password-toggle:hover {
  color: #333;
}

.aivora-user-dropdown .eye-icon {
  width: 18px;
  height: 18px;
}

/* 字段提示 */
.aivora-user-dropdown .field-hint {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

/* 密码强度 */
.aivora-user-dropdown .password-strength {
  margin-top: 8px;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.aivora-user-dropdown .password-strength .strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

.aivora-user-dropdown .password-strength .strength-text {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 11px;
  color: #666;
}

.aivora-user-dropdown .password-strength.weak .strength-bar {
  width: 33%;
  background: #e74c3c;
}

.aivora-user-dropdown .password-strength.medium .strength-bar {
  width: 66%;
  background: #f39c12;
}

.aivora-user-dropdown .password-strength.strong .strength-bar {
  width: 100%;
  background: #27ae60;
}

/* 表单选项 */
.aivora-user-dropdown .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.aivora-user-dropdown .checkbox-label {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

.aivora-user-dropdown .checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  cursor: pointer;
}

.aivora-user-dropdown .forgot-link {
  font-size: 12px;
  color: #0066cc;
  text-decoration: none;
}

.aivora-user-dropdown .forgot-link:hover {
  text-decoration: underline;
}

/* 表单提交按钮 */
.aivora-user-dropdown .form-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aivora-user-dropdown .form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.aivora-user-dropdown .form-submit-btn:active {
  transform: translateY(0);
}

/* 表单底部 */
.aivora-user-dropdown .form-footer {
  margin-top: 20px;
  text-align: center;
}

.aivora-user-dropdown .switch-form-text {
  font-size: 13px;
  color: #666;
}

.aivora-user-dropdown .switch-form-text a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.aivora-user-dropdown .switch-form-text a:hover {
  text-decoration: underline;
}

.aivora-user-dropdown .divider {
  position: relative;
  margin: 16px 0;
}

.aivora-user-dropdown .divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e0e0e0;
}

.aivora-user-dropdown .divider span {
  position: relative;
  background: #fff;
  padding: 0 12px;
  font-size: 12px;
  color: #999;
}

/* 第三方登录 */
.aivora-user-dropdown .third-party-login {
  margin-top: 16px;
}

.aivora-user-dropdown .third-party-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.aivora-user-dropdown .third-party-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.aivora-user-dropdown .third-party-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aivora-user-dropdown .third-party-btn svg {
  width: 22px;
  height: 22px;
}

.aivora-user-dropdown .third-party-btn.wechat {
  background: #07c160;
  color: #fff;
}

.aivora-user-dropdown .third-party-btn.alipay {
  background: #1677ff;
  color: #fff;
}

.aivora-user-dropdown .third-party-btn.qq {
  background: #12b7f5;
  color: #fff;
}

.aivora-user-dropdown .third-party-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 复选框组 */
.aivora-user-dropdown .checkbox-group {
  margin-top: 12px;
}

.aivora-user-dropdown .checkbox-group .checkbox-label span a {
  color: #0066cc;
  text-decoration: none;
}

.aivora-user-dropdown .checkbox-group .checkbox-label span a:hover {
  text-decoration: underline;
}

/* 已登录用户菜单 */
.aivora-user-dropdown .user-menu-content {
  padding: 20px;
}

.aivora-user-dropdown .user-header {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}

.aivora-user-dropdown .user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.aivora-user-dropdown .user-avatar svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.aivora-user-dropdown .user-info {
  flex: 1;
}

.aivora-user-dropdown .welcome-text {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.aivora-user-dropdown .user-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 2px 0;
}

.aivora-user-dropdown .user-summary {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* 用户菜单列表 */
.aivora-user-dropdown .user-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.aivora-user-dropdown .user-menu-list li {
  margin-bottom: 4px;
}

.aivora-user-dropdown .user-menu-list li a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.aivora-user-dropdown .user-menu-list li a svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: #666;
}

.aivora-user-dropdown .user-menu-list li a:hover {
  background: #f5f5f5;
}

.aivora-user-dropdown .user-menu-list li a:hover svg {
  color: #0066cc;
}

/* 退出登录按钮 */
.aivora-user-dropdown .logout-btn {
  width: 100%;
  padding: 10px;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.aivora-user-dropdown .logout-btn:hover {
  background: #e0e0e0;
  color: #333;
}

.aivora-user-dropdown .logout-btn svg {
  width: 18px;
  height: 18px;
}

/* 响应式 */
@media (max-width: 480px) {
  .aivora-user-dropdown {
    width: 320px;
    right: -50px;
  }
}

/* 修复 Footer Logo 变形问题 */
.aivora-footer .aivora-footer-logo {
  height: 70px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

.aivora-footer-logo-wrapper img {
  height: 70px !important;
  width: auto !important;
  max-width: 200px !important;
}

/* ===== 全局响应式基础 ===== */
html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 关于页 CSS（完整样式） ===== */
.aivora-about-page {
    min-height: 100vh;
    background: #f8fafc;
    padding-top: 80px;
}

/* 关于页 Hero */
.aivora-hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c1929 0%, #14356e 35%, #0d7ea2 65%, #0ea5e9 100%);
    overflow: hidden;
}

.aivora-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23g)'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.aivora-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    color: white;
    max-width: 800px;
}

.aivora-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.aivora-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.aivora-hero-tagline {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

/* 关于内容 */
.aivora-about-section {
    background: white;
}

.aivora-content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.aivora-lead-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.9;
    color: #444;
    text-align: center;
}

.aivora-lead-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* 服务卡片 */
.aivora-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.aivora-service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.aivora-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.aivora-service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.aivora-service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.aivora-service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 能力列表 */
.aivora-capabilities-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.aivora-capability-item {
    background: white;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border-left: 4px solid #0066cc;
}

.aivora-capability-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateX(4px);
}

.aivora-capability-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0066cc;
    background: rgba(0,102,204,0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.aivora-capability-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.aivora-capability-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 联系卡片 */
.aivora-contact-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.aivora-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
}

.aivora-contact-item .aivora-contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.aivora-contact-item a {
    color: #0066cc;
    text-decoration: none;
}

.aivora-contact-item a:hover {
    text-decoration: underline;
}

/* ===== 关于页 响应式 ===== */
@media (max-width: 768px) {
    .aivora-about-page {
        padding-top: 70px;
    }

    .aivora-hero-section {
        min-height: 300px;
    }

    .aivora-hero-content {
        padding: 2rem 1.5rem;
    }

    .aivora-content-block {
        padding: 1.5rem 1rem;
    }

    .aivora-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .aivora-service-card {
        padding: 1.5rem;
    }

    .aivora-capability-item {
        padding: 1.5rem;
    }

    .aivora-contact-card {
        padding: 2rem 1.5rem;
    }

    .aivora-contact-item {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .aivora-hero-section {
        min-height: 250px;
    }

    .aivora-hero-content {
        padding: 1.5rem 1rem;
    }

    .aivora-hero-title {
        font-size: 1.3rem;
    }

    .aivora-lead-text {
        font-size: 0.95rem;
    }

    .aivora-section-title {
        font-size: 1.3rem;
    }
}

/* ===== 导航栏移动端汉堡菜单 ===== */
.aivora-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #333;
}

.aivora-nav-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .aivora-nav-toggle {
        display: block;
    }

    .aivora-nav-container {
        flex-wrap: wrap !important;
        overflow-x: hidden !important;
    }

    .aivora-nav-menu {
        display: none;
        flex-wrap: nowrap !important;
        flex-direction: column;
        width: 100%;
        background: white;
        overflow-x: hidden !important;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .aivora-nav-menu.mobile-open {
        display: flex;
    }

    .aivora-nav-menu > li {
        flex-shrink: unset !important;
        white-space: normal !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .aivora-nav-menu > li > a {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        display: block;
    }

    /* 移动端下拉菜单改为内联展开 */
    .aivora-nav-menu .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        background: #f8f8f8 !important;
        display: none;
        padding: 0 !important;
    }

    .aivora-nav-menu .sub-menu.mobile-show {
        display: block !important;
    }

    .aivora-nav-menu .sub-menu li a {
        padding: 0.6rem 1rem 0.6rem 2rem !important;
        font-size: 0.85rem !important;
    }

    /* 移动端右侧功能区调整 */
    .aivora-nav-right {
        gap: 0.25rem !important;
    }

    .aivora-search-box {
        display: none !important;
    }

    .aivora-logo-image img {
        width: 100px !important;
    }
}

@media (max-width: 480px) {
    .aivora-lang-switch {
        display: none !important;
    }

    .aivora-logo-image img {
        width: 90px !important;
    }
}

/* ===== 首页模板移动端增强 ===== */
@media (max-width: 768px) {
    /* 首页整体 */
    .aivora-home-page {
        padding-top: 70px;
    }

    /* Banner */
    .aivora-banner {
        min-height: auto !important;
        padding: 2rem 1rem !important;
        flex-direction: column !important;
    }

    .aivora-banner-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 1.5rem 0 !important;
    }

    /* 关于我们网格 */
    .aivora-about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem 1.5rem !important;
    }

    .aivora-about-image {
        height: 200px !important;
    }

    .aivora-about-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .aivora-stat-item {
        flex: 1;
        min-width: 80px;
    }

    /* 产品网格 */
    .aivora-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .aivora-product-card {
        padding: 1.5rem !important;
    }

    /* 优势网格 */
    .aivora-advantages-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .aivora-advantage-card {
        padding: 1.5rem !important;
    }

    .aivora-advantage-icon {
        font-size: 2rem !important;
    }

    /* 行业网格 */
    .aivora-industries-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .aivora-industry-card {
        padding: 1.5rem !important;
    }

    .aivora-industry-icon {
        font-size: 2rem !important;
    }

    /* 联系区域 */
    .aivora-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .aivora-contact-form-wrapper {
        padding: 0 !important;
    }

    /* 表单响应式 */
    .aivora-contact-form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .aivora-contact-form input,
    .aivora-contact-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* 统计数据 */
    .aivora-about-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .aivora-section {
        padding: 2.5rem 1rem !important;
    }

    .aivora-banner {
        padding: 1.5rem 0.5rem !important;
    }

    .aivora-advantages-grid {
        grid-template-columns: 1fr !important;
    }

    .aivora-industries-grid {
        grid-template-columns: 1fr !important;
    }

    .aivora-stat-number {
        font-size: 1.5rem !important;
    }
}

/* ===== 通用容器响应式 ===== */
.aivora-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

/* ===== 区块编辑器页面内容响应式 ===== */
/* WordPress 块编辑器渲染的内容 */
.wp-block-post-content {
    overflow-x: hidden;
}

.wp-block-post-content img {
    max-width: 100%;
    height: auto;
}

/* ===== 大屏自适应增强 ===== */
@media (min-width: 1920px) {
    .aivora-home-page,
    .aivora-about-page {
        font-size: 18px;
    }

    .aivora-container {
        max-width: 1400px;
    }

    .aivora-services-grid,
    .aivora-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 2560px) {
    .aivora-home-page,
    .aivora-about-page {
        font-size: 20px;
    }

    .aivora-container {
        max-width: 1600px;
    }
}

/* English text adjustments - longer strings need more space */
html[lang="en"] .aivora-nav-menu > li > a,
html[lang="en"] .aivora-nav-menu .menu-text {
    font-size: 0.92em;
    letter-spacing: 0.01em;
}
html[lang="en"] .aivora-banner-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    word-break: break-word;
}
html[lang="en"] .aivora-banner-tagline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}
html[lang="en"] .aivora-stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}
html[lang="en"] .scene-card h3 {
    min-height: 2.8em;
}
html[lang="en"] .scene-card p {
    min-height: 3.5em;
}
html[lang="en"] .office-card-header h2 {
    font-size: 1.3rem;
}
html[lang="en"] .auth-form label {
    font-size: 0.88em;
}
html[lang="en"] .scenario-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}
html[lang="en"] .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
html[lang="en"] .case-card h3 {
    min-height: 3em;
}
html[lang="en"] .policy-item-title {
    min-height: 2.5em;
}
html[lang="en"] .solution-item h3 {
    min-height: 2.5em;
}
