/* ========================================
    应用商店 - 页面样式
   按页面模块划分，便于维护
   ========================================
   依赖: public.css (必须先引用)
   ======================================== */

/* 确保页脚贴底 */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

/* main 内容区自动扩展，确保内容占满剩余空间 */
body > header + block,
body > section:first-of-type,
body > div[class*="article-"],
body > div[class*="store-"] {
    flex: 1;
}

/* ========================================
   动画关键帧定义
   ======================================== */

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

/* ========================================
   一、公共头部导航样式
   页面: 所有页面
   ======================================== */

/* 头部导航 */
.store-header {
    background: var(--gray-1);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-1);
}

.store-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.store-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
}

.store-logo:hover {
    color: var(--primary);
}

.store-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* 导航菜单 */
.store-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex: 1;
    margin-left: var(--space-xl);
    margin-right: var(--space-lg);
}

.store-nav > a,
.store-nav > .store-nav-dropdown > .dropdown-toggle {
    padding: var(--space-xs) var(--space-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.store-nav > a:hover,
.store-nav > a.active,
.store-nav > .store-nav-dropdown > .dropdown-toggle:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

/* 下拉菜单 */
.store-nav-dropdown {
    position: relative;
}

.store-nav-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
}

.store-nav-dropdown .dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.store-nav-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--gray-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: var(--space-xs) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.store-nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--gray-3);
    color: var(--primary);
}

/* 右侧操作区 */
.store-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* 搜索框 */
.store-search {
    position: relative;
    display: flex;
    align-items: center;
}

.store-search input {
    width: 200px;
    height: 36px;
    padding: 0 var(--space-md);
    padding-right: 40px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--gray-3);
    font-size: 14px;
    transition: all 0.3s ease;
}

.store-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--gray-1);
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.store-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.store-search button:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* 用户头像下拉 */
.store-user-dropdown {
    position: relative;
}

.store-user-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 4px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.store-user-toggle:hover {
    background: var(--gray-3);
}

.store-user-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.store-user-toggle:hover .store-user-img {
    border-color: var(--primary-light);
}

.store-user-toggle i {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
}

.store-user-dropdown.open .store-user-toggle i {
    transform: rotate(180deg);
}

/* 用户下拉菜单 */
.store-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--gray-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

/* 用户信息头部 */
.store-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.store-user-menu-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.store-user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.store-user-role {
    font-size: 12px;
    color: var(--text-tertiary);
}

.store-user-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* 菜单项 */
.store-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.store-user-menu a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.store-user-menu a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

/* ========================================
   二、公共页脚样式
   页面: 所有页面
   ======================================== */
.store-footer {
    background: var(--gray-1);
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0;
    margin-top: auto;
}

.store-footer-content {
    text-align: center;
}

.store-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.store-footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.store-footer-links a:hover {
    color: var(--primary);
}

.store-footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ========================================
   三、公共分页样式
   页面: 应用列表页、插件列表页等
   ======================================== */
.store-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-xxl);
}

.store-pagination a,
.store-pagination span {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-sm);
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--gray-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.store-pagination a:hover:not(.disabled) {
    color: var(--primary);
    border-color: var(--primary);
}

.store-pagination a.active {
    color: var(--gray-1);
    background: var(--primary);
    border-color: var(--primary);
}

.store-pagination a.disabled {
    color: var(--text-disabled);
    cursor: not-allowed;
    background: var(--gray-3);
}

.store-pagination span.ellipsis {
    border: none;
    background: transparent;
    cursor: default;
}

/* ========================================
   四、公共页面标题区样式
   页面: 应用列表页、插件列表页等
   ======================================== */
.store-page-header {
    background: linear-gradient(135deg, var(--gray-1) 0%, var(--gray-3) 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.store-page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}

.store-page-desc {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ========================================
   五、应用列表页样式
   页面: store/app/index.html
   ======================================== */
.store-apps-section {
    padding: var(--space-xxl) 0;
}

/* 分类标签 */
.store-category-tabs {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}

.store-category-tabs::-webkit-scrollbar {
    display: none;
}

.store-category-tabs a {
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.store-category-tabs a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.store-category-tabs a.active {
    color: var(--gray-1);
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 应用网格 */
.store-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

/* 应用卡片 */
.store-app-card {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.5s ease forwards;
}

.store-app-card:nth-child(1) { animation-delay: 0.05s; }
.store-app-card:nth-child(2) { animation-delay: 0.1s; }
.store-app-card:nth-child(3) { animation-delay: 0.15s; }
.store-app-card:nth-child(4) { animation-delay: 0.2s; }
.store-app-card:nth-child(5) { animation-delay: 0.25s; }
.store-app-card:nth-child(6) { animation-delay: 0.3s; }

.store-app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3);
    border-color: var(--primary-light);
}

/* 应用头部 */
.store-app-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.store-app-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 标签 */
.store-app-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--warning);
    background: rgba(250, 173, 20, 0.1);
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-app-tag.official {
    color: var(--success);
    background: rgba(82, 196, 26, 0.1);
}

/* 应用描述 */
.store-app-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
}

/* 应用图片 */
.store-app-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-3);
}

.store-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-app-card:hover .store-app-image img {
    transform: scale(1.05);
}

/* 图片遮罩 */
.store-app-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-app-card:hover .store-app-overlay {
    opacity: 1;
}

.store-app-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-app-btn.primary {
    background: var(--primary);
    color: white;
}

.store-app-btn.primary:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* ========================================
   六、首页样式
   页面: store/index/index.html
   ======================================== */

/* 轮播图区域 */
.hero-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 轮播指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #3b82f6;
    width: 30px;
    border-radius: 5px;
}

/* 适用人群 */
.target-section {
    padding: 80px 0;
    background: #fff;
}

.target-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.target-section .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: #94a3b8;
}

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

.target-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.target-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.target-icon svg {
    width: 40px;
    height: 40px;
    color: #3b82f6;
}

.target-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.target-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 为什么选择我们 */
.why-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.why-card {
    text-align: center;
    padding: 30px;
}

.why-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed #fcd34d;
    animation: rotate 20s linear infinite;
}

.why-icon svg {
    width: 50px;
    height: 50px;
    color: #d97706;
}

.why-card:nth-child(2) .why-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.why-card:nth-child(2) .why-icon::before {
    border-color: #60a5fa;
}

.why-card:nth-child(2) .why-icon svg {
    color: #2563eb;
}

.why-card:nth-child(3) .why-icon {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.why-card:nth-child(3) .why-icon::before {
    border-color: #f472b6;
}

.why-card:nth-child(3) .why-icon svg {
    color: #db2777;
}

.why-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.why-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.why-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.why-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: #fff;
}

/* 插件市场 */
.plugin-section {
    background: #fff;
}

.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.plugin-tabs {
    display: flex;
    gap: 10px;
}

.plugin-tab {
    padding: 10px 24px;
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plugin-tab.active,
.plugin-tab:hover {
    background: #3b82f6;
    color: #fff;
}

.plugin-more {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.plugin-more:hover {
    color: #3b82f6;
}

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

.plugin-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plugin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 1;
}

.plugin-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.plugin-card:nth-child(1) .plugin-image { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.plugin-card:nth-child(2) .plugin-image { background: linear-gradient(135deg, #99f6e4 0%, #5eead4 100%); }
.plugin-card:nth-child(3) .plugin-image { background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%); }
.plugin-card:nth-child(4) .plugin-image { background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%); }
.plugin-card:nth-child(5) .plugin-image { background: linear-gradient(135deg, #fbcfe8 0%, #f9a8d4 100%); }
.plugin-card:nth-child(6) .plugin-image { background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%); }
.plugin-card:nth-child(7) .plugin-image { background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%); }
.plugin-card:nth-child(8) .plugin-image { background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%); }

.plugin-image svg {
    width: 60px;
    height: 60px;
    color: rgba(0, 0, 0, 0.4);
}

.plugin-info {
    padding: 16px;
}

.plugin-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.plugin-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plugin-downloads {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plugin-price {
    font-size: 14px;
    font-weight: 600;
}

.plugin-price.free {
    color: #22c55e;
}

.plugin-price.paid {
    color: #ef4444;
}

/* 功能特性 */
.feature-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
}

.feature-section .section-title,
.feature-section .section-subtitle {
    color: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* 合作伙伴 */
.partner-section {
    padding: 60px 0;
    background: #f8fafc;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: #cbd5e1;
    transform: scale(1.05);
}

/* ========================================
   七、应用详情页样式
   页面: store/app/detail.html
   ======================================== */

/* 详情页头部 Hero */
.app-detail-hero {
    background: linear-gradient(135deg, #1a5f7a 0%, #159895 50%, #57c5b6 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.app-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.app-detail-header {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.app-detail-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.app-detail-subtitle {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 详情页主体 */
.app-detail-main {
    padding: 40px 0 60px;
    background: var(--gray-2);
}

.app-detail-content {
    display: flex;
    gap: 30px;
}

/* 左侧内容区 */
.app-detail-left {
    flex: 1;
    min-width: 0;
}

/* 区块标题 */
.detail-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* 预览截图区 */
.app-screenshot-section {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-1);
}

.screenshot-gallery {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.gallery-nav {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-nav:hover {
    background: var(--primary);
    color: white;
}

.gallery-main {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    background: var(--gray-3);
    aspect-ratio: 16 / 10;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.gallery-thumbs img {
    width: 80px;
    height: 50px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
}

.gallery-thumbs img:hover {
    opacity: 0.8;
}

.gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.2);
}

/* 功能介绍区 */
.app-intro-section {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-1);
}

.intro-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 16px;
}

.intro-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.intro-content h4:first-of-type {
    margin-top: 0;
}

/* 更新日志区 */
.app-changelog-section {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-1);
    margin-top: 24px;
}

.changelog-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.changelog-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--gray-4);
}

.changelog-item:last-child {
    border-left-color: transparent;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--gray-4);
    border-radius: 50%;
    border: 2px solid var(--gray-1);
}

.changelog-item:first-child::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.changelog-version {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.changelog-date {
    font-size: 13px;
    color: var(--text-tertiary);
}

.changelog-badge {
    padding: 2px 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.changelog-body {
    color: var(--text-secondary);
}

.changelog-body ul {
    margin: 0;
    padding-left: 20px;
}

.changelog-body li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.changelog-body li:last-child {
    margin-bottom: 0;
}

/* 右侧边栏 */
.app-detail-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 操作按钮 */
.sidebar-actions {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

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

.btn-download {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 196, 26, 0.4);
}

.btn-demo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.4);
}

.btn-install {
    background: var(--gray-3);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-install:hover {
    background: var(--gray-4);
    color: var(--primary);
}

.btn-bug {
    background: var(--gray-3);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-bug:hover {
    background: var(--gray-4);
    color: var(--error);
}

/* 协议声明 */
.sidebar-agreement {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-1);
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.agreement-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.agreement-checkbox a {
    color: var(--primary);
}

.agreement-checkbox a:hover {
    text-decoration: underline;
}

/* 插件信息 */
.sidebar-info {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-1);
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-title i {
    color: var(--primary);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.info-label {
    color: var(--text-tertiary);
}

.info-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value a {
    color: var(--primary);
}

.info-value a:hover {
    text-decoration: underline;
}

.info-value.rating {
    color: #faad14;
}

.info-value.rating i {
    margin-right: 2px;
}

.version-history {
    font-size: 12px;
    color: var(--primary);
    margin-left: 4px;
}

/* ========================================
   九、用户中心页样式
   页面: store/user/index.html, store/user/account.html等
   ======================================== */
.user-center-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
}

/* 左侧菜单 */
.user-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.user-menu {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.menu-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-title {
    padding: 0 20px 10px;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background: #f8f9fa;
    color: #3b82f6;
}

.menu-link.active {
    background: #eff6ff;
    color: #3b82f6;
    border-left-color: #3b82f6;
    font-weight: 500;
}

.menu-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon svg {
    width: 16px;
    height: 16px;
}

/* 右侧内容区 */
.user-content {
    flex: 1;
    min-width: 0;
}

.content-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.content-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.content-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.content-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 用户中心页面按钮样式 */
.content-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.content-actions .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
}

.content-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.content-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.content-actions .btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.content-actions .btn-success:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.content-actions .btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.content-actions .btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* 按钮点击效果 */
.content-actions .btn:active {
    transform: translateY(0);
}

/* 响应式：小屏幕下按钮 */
@media (max-width: 1024px) {
    .content-actions {
        flex-wrap: wrap;
    }

    .content-actions .btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .content-actions .btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .content-actions {
        width: 100%;
    }
}

.search-box {
    position: relative;
}

.search-input {
    width: 200px;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    background: #fafafa;
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: #aaa;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-icon svg {
    width: 14px;
    height: 14px;
}

/* 提示信息区 */
.tips-section {
    padding: 20px 24px;
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
}

.tips-title {
    font-size: 14px;
    font-weight: 600;
    color: #d97706;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tips-title svg {
    width: 16px;
    height: 16px;
}

.tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tips-item {
    font-size: 13px;
    color: #92400e;
    line-height: 1.8;
    padding-left: 22px;
    position: relative;
}

.tips-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 4px;
    height: 4px;
    background: #d97706;
    border-radius: 50%;
}

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

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

/* 空状态 */
.empty-state {
    padding: 80px 24px;
    text-align: center;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 40px;
    height: 40px;
    color: #cbd5e1;
}

.empty-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.empty-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

/* 插件列表 */
.plugin-list {
    padding: 20px 24px;
}

.plugin-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.plugin-list-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.plugin-list-item:last-child {
    margin-bottom: 0;
}

.plugin-list-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-list-thumb svg {
    width: 40px;
    height: 40px;
    color: rgba(0, 0, 0, 0.3);
}

.plugin-list-info {
    flex: 1;
    min-width: 0;
}

.plugin-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.plugin-list-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.plugin-list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
}

.plugin-list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plugin-list-price {
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
    margin-right: 8px;
}

.plugin-list-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-list-status.paid {
    background: #dcfce7;
    color: #16a34a;
}

.plugin-list-status.free {
    background: #dbeafe;
    color: #2563eb;
}

/* 账户设置页面 */
.settings-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.settings-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

/* 头像区域 */
.avatar-section {
    text-align: center;
    margin-bottom: 30px;
}

.avatar-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8b4b4 0%, #f4a4a4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    font-weight: 500;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.avatar-upload:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* 设置表单 */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-form .form-group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.settings-form .form-label {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 10px;
    font-size: 14px;
    color: #475569;
}

.settings-form .form-control {
    flex: 1;
    min-width: 0;
}

/* 第三方绑定 */
.bind-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bind-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.bind-item:hover {
    background: #e2e8f0;
}

.bind-item.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.bind-item svg {
    width: 18px;
    height: 18px;
}

/* 单选框组 */
.radio-group {
    display: flex;
    gap: 20px;
    padding-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #3b82f6;
    cursor: pointer;
}

/* 提交按钮 */
.form-actions {
    padding-left: 116px;
    margin-top: 10px;
}

.btn-submit {
    padding: 10px 32px;
    font-size: 14px;
}

/* 内容包装器 - 统一会员中心页面宽度 */
.content-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 24px 32px;
}

/* 个人中心首页特有样式 */
.profile-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 8px;
    padding: 30px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.profile-avatar svg {
    width: 50px;
    height: 50px;
    color: #fff;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-meta-item svg {
    width: 16px;
    height: 16px;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.profile-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.profile-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stats-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.stats-icon.green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.stats-icon.orange {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #d97706;
}

.stats-icon.purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #9333ea;
}

.stats-icon svg {
    width: 24px;
    height: 24px;
}

.stats-content {
    flex: 1;
}

.stats-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 13px;
    color: #64748b;
}

/* 内容分区 */
.content-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title svg {
    width: 18px;
    height: 18px;
    color: #3b82f6;
}

.section-more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.section-more:hover {
    color: #3b82f6;
}

.section-more svg {
    width: 14px;
    height: 14px;
}

.section-body {
    padding: 20px;
}

/* 最近购买 */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recent-item:hover {
    border-color: #3b82f6;
    background: #fafafa;
}

.recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-thumb svg {
    width: 28px;
    height: 28px;
    color: rgba(0, 0, 0, 0.3);
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.recent-time {
    font-size: 12px;
    color: #94a3b8;
}

.recent-price {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
}

/* 功能入口 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #f8fafc;
}

.feature-item .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #3b82f6;
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #22c55e;
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #f59e0b;
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #ec4899;
}

.feature-item .feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-label {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

/* ========================================
   十、响应式设计
   适配不同屏幕尺寸
   ======================================== */
@media (max-width: 1024px) {
    /* 头部导航 */
    .store-nav {
        display: none;
    }

    /* 应用列表 */
    .store-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 应用详情 */
    .app-detail-content {
        flex-direction: column;
    }

    .app-detail-sidebar {
        width: 100%;
    }

    .sidebar-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        min-width: 140px;
    }

    /* 首页 */
    .plugin-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 用户中心 */
    .user-center-container {
        flex-direction: column;
    }

    .user-sidebar {
        width: 100%;
    }

    .user-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }

    .menu-section {
        display: flex;
        padding: 0;
        border: none;
        border-right: 1px solid #f0f0f0;
    }

    .menu-section:last-child {
        border-right: none;
    }

    .menu-title {
        display: none;
    }

    .menu-list {
        display: flex;
    }

    .menu-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .menu-link.active {
        border-left: none;
        border-bottom-color: #3b82f6;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 头部 */
    .store-header-inner {
        padding: 0 var(--space-md);
    }

    .store-search input {
        width: 150px;
    }

    /* 应用列表 */
    .store-apps-grid {
        grid-template-columns: 1fr;
    }

    .store-page-title {
        font-size: 24px;
    }

    .store-category-tabs {
        gap: var(--space-xs);
    }

    .store-category-tabs a {
        padding: var(--space-xs) var(--space-md);
        font-size: 13px;
    }

    /* 首页 */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .target-grid,
    .why-grid,
    .feature-section .feature-grid {
        grid-template-columns: 1fr;
    }

    .plugin-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plugin-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    /* 应用详情 */
    .app-detail-hero {
        padding: 40px 0;
    }

    .app-detail-title {
        font-size: 28px;
    }

    .app-detail-subtitle {
        font-size: 14px;
    }

    .screenshot-gallery {
        gap: 8px;
    }

    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .gallery-thumbs img {
        width: 60px;
        height: 40px;
    }

    .sidebar-actions {
        flex-direction: column;
    }

    .action-btn {
        min-width: auto;
    }

    /* 用户中心 */
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .plugin-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .plugin-list-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-actions {
        width: 100%;
        justify-content: center;
    }

    .recent-item {
        flex-wrap: wrap;
    }

    .recent-price {
        width: 100%;
        text-align: right;
    }
}

@media (max-width: 480px) {
    /* 首页 */
    .plugin-grid {
        grid-template-columns: 1fr;
    }

    /* 用户中心 */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-form .form-group {
        flex-direction: column;
    }

    .settings-form .form-label {
        width: 100%;
        text-align: left;
        padding-top: 0;
    }

    .form-actions {
        padding-left: 0;
    }
}

/* ========================================
   九（续）、用户中心子页面样式
   页面: store/user/account.html, store/user/invoice.html, store/user/ticket.html等
   ======================================== */

/* 账户设置页面样式 - account.html */
.settings-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* 页面标题 */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

/* 头像区域优化 */
.account-avatar-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    font-weight: 600;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.avatar-edit:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.avatar-edit svg {
    width: 18px;
    height: 18px;
}

.avatar-hint {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

/* 表单分组 */
.form-section {
    margin-bottom: 32px;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid #3b82f6;
}

/* 表单行 */
.form-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-label {
    width: 90px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 11px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.form-content {
    flex: 1;
    min-width: 0;
}

/* 输入框优化 */
.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:hover {
    border-color: #cbd5e1;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:disabled,
.form-input.readonly {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.input-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-hint.warning {
    color: #d97706;
}

.input-hint svg {
    width: 14px;
    height: 14px;
}

/* 输入框组 */
.input-group {
    display: flex;
    gap: 10px;
}

.input-group .form-input {
    flex: 1;
}

.btn-secondary-outline {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary-outline:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* 第三方绑定优化 */
.bind-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.bind-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.bind-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.bind-card.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.bind-card.active .bind-status {
    color: #3b82f6;
}

.bind-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bind-icon.qq {
    background: #e3f2fd;
    color: #2196f3;
}

.bind-icon.weixin {
    background: #e8f5e9;
    color: #4caf50;
}

.bind-icon.github {
    background: #f5f5f5;
    color: #333;
}

.bind-icon.gitee {
    background: #fff3e0;
    color: #ff9800;
}

.bind-icon svg {
    width: 20px;
    height: 20px;
}

.bind-info {
    flex: 1;
}

.bind-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.bind-status {
    font-size: 12px;
    color: #94a3b8;
}

/* 开关样式 */
.switch-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e2e8f0;
    border-radius: 26px;
    transition: all 0.3s ease;
}

.switch-slider:before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch input:checked + .switch-slider {
    background: #3b82f6;
}

.switch input:checked + .switch-slider:before {
    transform: translateX(22px);
}

.switch-label {
    font-size: 14px;
    color: #475569;
}

/* 提交区域 */
.submit-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-lg {
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 500;
}

.btn-outline-secondary {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* 弹窗优化 */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    width: 420px;
    max-width: 90%;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title svg {
    width: 22px;
    height: 22px;
    color: #3b82f6;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* 我的发票页面样式 - invoice.html */
.invoice-wrapper {
    padding: 30px;
}

/* 发票信息卡片 */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.info-card-icon.green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.info-card-icon.orange {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #d97706;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
}

.info-card-content {
    flex: 1;
}

.info-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.info-card-label {
    font-size: 13px;
    color: #64748b;
}

/* 提示信息 */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 24px;
}

.notice-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.notice-icon svg {
    width: 20px;
    height: 20px;
}

.notice-content {
    flex: 1;
}

.notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 4px;
}

.notice-text {
    font-size: 13px;
    color: #3b82f6;
    line-height: 1.5;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 8px 16px;
    font-size: 14px;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    border-color: #cbd5e1;
}

.filter-tab.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.filter-actions {
    display: flex;
    gap: 12px;
}

/* 按钮样式 */
.btn-primary-solid {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-solid:hover {
    background: #2563eb;
}

.btn-primary-solid svg {
    width: 16px;
    height: 16px;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.btn-secondary-outline svg {
    width: 14px;
    height: 14px;
}

/* 发票列表 */
.invoice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invoice-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.invoice-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.invoice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

.invoice-number {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    font-family: monospace;
}

.invoice-type {
    padding: 4px 10px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.invoice-type.personal {
    background: #fce7f3;
    color: #be185d;
}

.invoice-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.invoice-status.completed {
    background: #dcfce7;
    color: #16a34a;
}

.invoice-status.processing {
    background: #dbeafe;
    color: #2563eb;
}

.invoice-status.failed {
    background: #fee2e2;
    color: #dc2626;
}

.invoice-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.invoice-body {
    padding: 20px;
}

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

.invoice-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invoice-info-label {
    font-size: 12px;
    color: #94a3b8;
}

.invoice-info-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.invoice-info-value.amount {
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
}

.invoice-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
    color: #94a3b8;
}

.empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.page-item {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: #475569;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.page-item.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.page-item.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

/* 弹窗样式 */
.invoice-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 520px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.invoice-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.invoice-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.invoice-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.invoice-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.invoice-modal-close svg {
    width: 18px;
    height: 18px;
}

.invoice-modal-body {
    padding: 24px;
}

.invoice-form-field {
    margin-bottom: 20px;
}

.invoice-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.invoice-form-field label .required {
    color: #ef4444;
    margin-left: 4px;
}

.invoice-form-input,
.invoice-form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

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

.invoice-form-select {
    cursor: pointer;
}

.invoice-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.invoice-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-outline {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* 售后工单页面样式 - ticket.html */
.ticket-wrapper {
    padding: 30px;
}

/* 统计卡片 */
.stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
}

/* 工单列表 */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ticket-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ticket-id {
    font-size: 13px;
    color: #94a3b8;
    font-family: monospace;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ticket-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.ticket-status.processing {
    background: #dbeafe;
    color: #2563eb;
}

.ticket-status.resolved {
    background: #dcfce7;
    color: #16a34a;
}

.ticket-status.closed {
    background: #f1f5f9;
    color: #64748b;
}

.ticket-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ticket-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.ticket-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.ticket-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
}

.ticket-meta-item svg {
    width: 14px;
    height: 14px;
}

.ticket-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    color: #475569;
}

/* 工单弹窗 */
.ticket-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 560px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.ticket-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.ticket-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.ticket-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ticket-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.ticket-modal-close svg {
    width: 18px;
    height: 18px;
}

.ticket-modal-body {
    padding: 24px;
}

.ticket-form-field {
    margin-bottom: 20px;
}

.ticket-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.ticket-form-field label .required {
    color: #ef4444;
    margin-left: 4px;
}

.ticket-form-input,
.ticket-form-select,
.ticket-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ticket-form-input:focus,
.ticket-form-select:focus,
.ticket-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.ticket-form-select {
    cursor: pointer;
}

.file-upload {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.file-upload-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: #94a3b8;
}

.file-upload-text {
    font-size: 14px;
    color: #64748b;
}

.file-upload-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.ticket-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
}

.btn-secondary-btn {
    background: #f1f5f9;
    color: #475569;
}

.btn-secondary-btn:hover {
    background: #e2e8f0;
}

/* 响应式 - 用户中心子页面 */
@media (max-width: 1024px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .invoice-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .settings-wrapper,
    .invoice-wrapper,
    .ticket-wrapper {
        padding: 24px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 8px;
    }

    .form-label {
        width: auto;
        text-align: left;
        padding-top: 0;
    }

    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .bind-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bind-card {
        min-width: auto;
    }

    .stats-bar {
        flex-wrap: wrap;
    }

    .filter-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .search-input {
        width: 100%;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr;
    }

    .invoice-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .ticket-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .invoice-form-row,
    .ticket-form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   十一、账户设置页面样式
   页面: store/user/account.html
   ======================================== */

/* 账户设置卡片 */
.account-settings-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 页面头部 */
.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #f0f0f0;
}

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

.account-title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.account-title-icon svg {
    width: 22px;
    height: 22px;
}

.account-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* 账户设置按钮 */
.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
}

.account-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.account-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.account-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.account-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.account-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.account-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.account-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.account-btn-cancel {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.account-btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.account-btn-bind {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    padding: 6px 14px;
    font-size: 12px;
}

.account-btn-bind:hover {
    background: #3b82f6;
    color: #fff;
}

.account-btn-lg {
    padding: 10px 24px;
    font-size: 14px;
}

.account-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 设置表单 */
.account-form {
    padding: 32px;
}

/* 分区 */
.account-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
}

.account-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.account-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-dot {
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

/* 头像设置 */
.account-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-avatar {
    width: 100px;
    height: 100px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.account-avatar.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-text {
    user-select: none;
}

.account-avatar-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.account-avatar-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.account-avatar-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.account-avatar-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* 表单网格 */
.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

.account-form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-form-item-full {
    grid-column: 1 / -1;
}

.account-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.account-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 输入框 */
.account-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.account-input:hover {
    border-color: #cbd5e1;
}

.account-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.account-input::placeholder {
    color: #94a3b8;
}

.account-input-disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

.account-input-disabled:hover {
    border-color: #e2e8f0;
}

/* 输入框组 */
.account-input-group {
    display: flex;
    gap: 10px;
}

.account-input-group .account-input {
    flex: 1;
}

.account-input-group .account-btn {
    flex-shrink: 0;
}

/* 表单提示 */
.account-form-tip {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.account-form-tip svg {
    width: 14px;
    height: 14px;
}

.account-form-tip-warning {
    color: #d97706;
}

/* 第三方账号绑定 */
.account-bind-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.account-bind-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.account-bind-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.account-bind-active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.account-bind-active:hover {
    background: #dbeafe;
    border-color: #2563eb;
}

.account-bind-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-bind-icon svg {
    width: 20px;
    height: 20px;
}

.account-bind-qq {
    background: #e3f2fd;
    color: #2196f3;
}

.account-bind-wechat {
    background: #e8f5e9;
    color: #4caf50;
}

.account-bind-github {
    background: #f5f5f5;
    color: #333;
}

.account-bind-gitee {
    background: #fff3e0;
    color: #ff9800;
}

.account-bind-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-bind-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.account-bind-status {
    font-size: 12px;
}

.account-bind-status[data-status="unbound"] {
    color: #94a3b8;
}

.account-bind-status[data-status="bound"] {
    color: #22c55e;
}

/* 消息通知 */
.account-notify-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.account-notify-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-notify-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.account-notify-desc {
    font-size: 12px;
    color: #64748b;
}

/* 开关样式 */
.account-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.account-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.account-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: 0.3s;
    border-radius: 26px;
}

.account-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-switch input:checked + .account-switch-slider {
    background-color: #3b82f6;
}

.account-switch input:checked + .account-switch-slider:before {
    transform: translateX(22px);
}

/* 提交按钮区域 */
.account-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* 弹窗样式 */
.account-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.account-modal.show {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}

.account-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease;
}

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

.account-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.account-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.account-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.account-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.account-modal-body {
    padding: 24px;
}

.account-modal-body .account-form-item {
    margin-bottom: 16px;
}

.account-modal-body .account-form-item:last-child {
    margin-bottom: 0;
}

.account-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
}

/* 账户设置响应式 */
@media (max-width: 1024px) {
    .account-form-grid {
        grid-template-columns: 1fr;
    }

    .account-bind-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .account-form {
        padding: 24px;
    }

    .account-avatar-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-actions {
        flex-direction: column-reverse;
    }

    .account-actions .account-btn {
        width: 100%;
    }

    .account-modal-content {
        max-width: 100%;
    }
}

/* ========================================
   十二、售后工单页面样式
   页面: store/user/ticket.html
   ======================================== */

/* 工单页面容器 */
.ticket-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 页面头部 */
.ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #f0f0f0;
}

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

.ticket-title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ticket-title-icon svg {
    width: 22px;
    height: 22px;
}

.ticket-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* 工单按钮 */
.ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
}

.ticket-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.ticket-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.ticket-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ticket-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.ticket-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.ticket-btn-cancel {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.ticket-btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ticket-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.ticket-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 统计卡片 */
.ticket-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #f0f0f0;
}

.ticket-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.ticket-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.ticket-stat-label {
    font-size: 13px;
    color: #64748b;
}

.ticket-stat-pending .ticket-stat-value {
    color: #d97706;
}

.ticket-stat-processing .ticket-stat-value {
    color: #2563eb;
}

.ticket-stat-resolved .ticket-stat-value {
    color: #16a34a;
}

/* 筛选栏 */
.ticket-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.ticket-tabs {
    display: flex;
    gap: 8px;
}

.ticket-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ticket-tab:hover {
    background: #f1f5f9;
    color: #475569;
}

.ticket-tab.active {
    background: #eff6ff;
    color: #3b82f6;
}

.ticket-search-box {
    position: relative;
    width: 240px;
}

.ticket-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-search-icon svg {
    width: 16px;
    height: 16px;
}

.ticket-search-input {
    width: 100%;
    padding: 8px 12px 8px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ticket-search-input:hover {
    border-color: #cbd5e1;
}

.ticket-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ticket-search-input::placeholder {
    color: #94a3b8;
}

/* 工单列表 */
.ticket-list {
    padding: 24px 32px;
    min-height: 300px;
}

/* 空状态 */
.ticket-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.ticket-empty-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.ticket-empty-icon svg {
    width: 40px;
    height: 40px;
}

.ticket-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.ticket-empty-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
    max-width: 400px;
}

/* 工单项 */
.ticket-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.2s ease;
}

.ticket-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticket-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ticket-item-no {
    font-size: 13px;
    color: #94a3b8;
    font-family: monospace;
}

.ticket-item-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ticket-item-status[data-status="pending"] {
    background: #fef3c7;
    color: #d97706;
}

.ticket-item-status[data-status="processing"] {
    background: #dbeafe;
    color: #2563eb;
}

.ticket-item-status[data-status="resolved"] {
    background: #d1fae5;
    color: #16a34a;
}

.ticket-item-status[data-status="closed"] {
    background: #f1f5f9;
    color: #64748b;
}

.ticket-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.ticket-item-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ticket-item-type {
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    color: #475569;
}

.ticket-item-time {
    font-size: 13px;
    color: #94a3b8;
}

.ticket-item-footer {
    display: flex;
    justify-content: flex-end;
}

/* 弹窗样式 */
.ticket-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ticket-modal.show {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}

.ticket-modal-dialog {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease;
}

.ticket-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.ticket-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.ticket-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ticket-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.ticket-modal-body {
    padding: 24px;
}

.ticket-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
}

/* 表单样式 */
.ticket-form-group {
    margin-bottom: 20px;
}

.ticket-form-group:last-child {
    margin-bottom: 0;
}

.ticket-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.ticket-required {
    color: #ef4444;
}

.ticket-form-input,
.ticket-form-select,
.ticket-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ticket-form-input:hover,
.ticket-form-select:hover,
.ticket-form-textarea:hover {
    border-color: #cbd5e1;
}

.ticket-form-input:focus,
.ticket-form-select:focus,
.ticket-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ticket-form-input::placeholder,
.ticket-form-textarea::placeholder {
    color: #94a3b8;
}

.ticket-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.ticket-form-select {
    cursor: pointer;
}

/* 上传区域 */
.ticket-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ticket-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-upload-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.ticket-upload-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.ticket-upload-hint {
    font-size: 12px;
    color: #94a3b8;
}

.ticket-upload-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ticket-upload-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 13px;
}

.ticket-upload-name {
    color: #475569;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-upload-remove {
    width: 18px;
    height: 18px;
    border: none;
    background: #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ticket-upload-remove:hover {
    background: #ef4444;
    color: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
    .ticket-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ticket-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticket-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .ticket-search-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .ticket-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 24px;
        gap: 12px;
    }

    .ticket-stat-card {
        padding: 16px;
    }

    .ticket-stat-value {
        font-size: 22px;
    }

    .ticket-filter {
        padding: 16px 24px;
    }

    .ticket-list {
        padding: 20px 24px;
    }

    .ticket-modal-dialog {
        max-width: 100%;
        margin: 10px;
    }

    .ticket-modal-body,
    .ticket-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========================================
   十三、我的发票页面样式
   页面: store/user/invoice.html
   ======================================== */

/* 发票页面容器 */
.invoice-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 页面头部 */
.invoice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #f0f0f0;
}

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

.invoice-title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.invoice-title-icon svg {
    width: 22px;
    height: 22px;
}

.invoice-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* 发票按钮 */
.invoice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
}

.invoice-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.invoice-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.invoice-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.invoice-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.invoice-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.invoice-btn-cancel {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.invoice-btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.invoice-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.invoice-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 统计卡片 */
.invoice-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #f0f0f0;
}

.invoice-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.invoice-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.invoice-stat-icon svg {
    width: 24px;
    height: 24px;
}

.invoice-stat-blue {
    background: #eff6ff;
    color: #3b82f6;
}

.invoice-stat-green {
    background: #ecfdf5;
    color: #10b981;
}

.invoice-stat-orange {
    background: #fff7ed;
    color: #f97316;
}

.invoice-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invoice-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.invoice-stat-label {
    font-size: 13px;
    color: #64748b;
}

/* 提示信息 */
.invoice-notice {
    display: flex;
    gap: 12px;
    padding: 16px 32px;
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

.invoice-notice-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

.invoice-notice-icon svg {
    width: 100%;
    height: 100%;
}

.invoice-notice-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invoice-notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.invoice-notice-text {
    font-size: 13px;
    color: #3b82f6;
    line-height: 1.5;
}

/* 筛选栏 */
.invoice-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.invoice-tabs {
    display: flex;
    gap: 8px;
}

.invoice-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.invoice-tab:hover {
    background: #f1f5f9;
    color: #475569;
}

.invoice-tab.active {
    background: #eff6ff;
    color: #3b82f6;
}

.invoice-search-box {
    position: relative;
    width: 240px;
}

.invoice-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-search-icon svg {
    width: 16px;
    height: 16px;
}

.invoice-search-input {
    width: 100%;
    padding: 8px 12px 8px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.invoice-search-input:hover {
    border-color: #cbd5e1;
}

.invoice-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.invoice-search-input::placeholder {
    color: #94a3b8;
}

/* 发票列表 */
.invoice-list {
    padding: 24px 32px;
    min-height: 300px;
}

/* 空状态 */
.invoice-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.invoice-empty-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.invoice-empty-icon svg {
    width: 40px;
    height: 40px;
}

.invoice-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.invoice-empty-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
    max-width: 400px;
}

/* 发票卡片 */
.invoice-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invoice-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.invoice-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.invoice-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-card-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

.invoice-card-number {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    font-family: monospace;
}

.invoice-card-type {
    padding: 4px 10px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.invoice-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.invoice-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.invoice-card-status[data-status="pending"] {
    color: #d97706;
}

.invoice-card-status[data-status="pending"] .invoice-status-dot {
    background: #d97706;
}

.invoice-card-status[data-status="completed"] {
    color: #16a34a;
}

.invoice-card-status[data-status="completed"] .invoice-status-dot {
    background: #16a34a;
}

.invoice-card-body {
    padding: 20px;
}

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

.invoice-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invoice-info-label {
    font-size: 12px;
    color: #94a3b8;
}

.invoice-info-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.invoice-info-value.invoice-amount {
    color: #dc2626;
    font-size: 16px;
    font-weight: 700;
}

.invoice-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

/* 分页 */
.invoice-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 24px 32px;
    border-top: 1px solid #f0f0f0;
}

.invoice-page-item {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.invoice-page-item:hover:not(.disabled):not(.active) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.invoice-page-item.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

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

/* 弹窗样式 */
.invoice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.invoice-modal.show {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}

.invoice-modal-dialog {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.3s ease;
}

.invoice-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.invoice-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.invoice-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.invoice-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.invoice-modal-body {
    padding: 24px;
}

.invoice-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
}

/* 表单样式 */
.invoice-form-group {
    margin-bottom: 20px;
}

.invoice-form-group:last-child {
    margin-bottom: 0;
}

.invoice-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.invoice-form-row .invoice-form-group {
    margin-bottom: 0;
}

.invoice-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.invoice-required {
    color: #ef4444;
}

.invoice-form-input,
.invoice-form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.invoice-form-input:hover,
.invoice-form-select:hover {
    border-color: #cbd5e1;
}

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

.invoice-form-input::placeholder {
    color: #94a3b8;
}

.invoice-form-select {
    cursor: pointer;
}

.invoice-form-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 6px 0 0;
}

/* 响应式 */
@media (max-width: 1024px) {
    .invoice-stats {
        grid-template-columns: repeat(1, 1fr);
    }

    .invoice-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .invoice-search-box {
        width: 100%;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .invoice-stats {
        padding: 20px 24px;
    }

    .invoice-stat-card {
        padding: 16px;
    }

    .invoice-stat-value {
        font-size: 20px;
    }

    .invoice-notice {
        padding: 16px 24px;
    }

    .invoice-filter {
        padding: 16px 24px;
    }

    .invoice-list {
        padding: 20px 24px;
    }

    .invoice-form-row {
        grid-template-columns: 1fr;
    }

    .invoice-modal-dialog {
        max-width: 100%;
        margin: 10px;
    }

    .invoice-modal-body,
    .invoice-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========================================
   十四、首页新样式
   页面: store/index/index.html
   ======================================== */

/* 主视觉区 - 新设计 */
.hero-new {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-new .store-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-new-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-new-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

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

.hero-new-desc {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 32px;
    max-width: 480px;
}

.hero-new-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.hero-btn-primary svg {
    width: 18px;
    height: 18px;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary svg {
    width: 18px;
    height: 18px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* 主视觉区右侧图形 */
.hero-new-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.visual-card-1 {
    top: 0;
    left: 0;
    width: 280px;
    height: 180px;
}

.visual-card-2 {
    top: 60px;
    right: 0;
    width: 160px;
    height: 140px;
}

.visual-card-3 {
    bottom: 0;
    left: 40px;
    width: 240px;
    height: 120px;
}

.card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.card-dots span:nth-child(1) { background: #ef4444; }
.card-dots span:nth-child(2) { background: #f59e0b; }
.card-dots span:nth-child(3) { background: #22c55e; }

.content-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 10px;
}

.content-line.short {
    width: 60%;
}

.content-blocks {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.content-block {
    flex: 1;
    height: 60px;
    border-radius: 8px;
}

.content-block.blue { background: rgba(59, 130, 246, 0.5); }
.content-block.green { background: rgba(34, 197, 94, 0.5); }

.card-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

.avatar-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-more {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: #4ade80;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 新章节头部样式 */
.section-header-new {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title-new {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.section-desc-new {
    font-size: 17px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

/* 核心能力区 */
.capabilities-section {
    padding: 100px 0;
    background: #fff;
}

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

.capability-card {
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.capability-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.capability-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.capability-blue { background: #eff6ff; color: #3b82f6; }
.capability-purple { background: #f3e8ff; color: #9333ea; }
.capability-orange { background: #fff7ed; color: #f97316; }
.capability-green { background: #ecfdf5; color: #10b981; }

.capability-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.capability-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
}

.capability-link {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.capability-link:hover {
    color: #2563eb;
}

/* 应用场景区 */
.scenarios-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

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

.scenario-item.scenario-reverse {
    direction: rtl;
}

.scenario-item.scenario-reverse > * {
    direction: ltr;
}

.scenario-content {
    padding: 20px 0;
}

.scenario-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.scenario-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}

.scenario-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 24px;
}

.scenario-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scenario-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #374151;
}

.scenario-features li svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.scenario-visual {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.scenario-purple { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }
.scenario-orange { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }

.scenario-mockup {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mockup-header {
    height: 40px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

.mockup-header::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e;
}

.mockup-body {
    padding: 20px;
}

.mockup-hero {
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 8px;
    margin-bottom: 16px;
}

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

.mockup-card {
    height: 60px;
    background: #f1f5f9;
    border-radius: 6px;
}

.mockup-product {
    height: 100px;
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    border-radius: 8px;
    margin-bottom: 16px;
}

.mockup-cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    height: 40px;
    background: #f1f5f9;
    border-radius: 6px;
}

.mockup-post {
    height: 80px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 16px;
}

.mockup-comments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment {
    height: 30px;
    background: #f8fafc;
    border-radius: 6px;
}

/* 资源生态区 */
.ecosystem-section {
    padding: 100px 0;
    background: #fff;
}

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

.ecosystem-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.ecosystem-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.ecosystem-featured .ecosystem-name,
.ecosystem-featured .ecosystem-desc {
    color: #fff;
}

.ecosystem-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.ecosystem-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.ecosystem-icon svg {
    width: 24px;
    height: 24px;
}

.ecosystem-featured .ecosystem-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ecosystem-badge {
    padding: 4px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.ecosystem-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.ecosystem-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px;
}

.ecosystem-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ecosystem-downloads {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
}

.ecosystem-downloads svg {
    width: 14px;
    height: 14px;
}

.ecosystem-price {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
}

.ecosystem-price.free {
    color: #22c55e;
}

.ecosystem-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
}

.ecosystem-more-content {
    text-align: center;
}

.ecosystem-more-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #64748b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ecosystem-more-icon svg {
    width: 28px;
    height: 28px;
}

.ecosystem-more-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.ecosystem-more-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.ecosystem-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    color: #3b82f6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.ecosystem-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ecosystem-more-btn svg {
    width: 16px;
    height: 16px;
}

/* 开发者故事区 */
.stories-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

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

.story-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.story-quote {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 60px;
    color: #e2e8f0;
    font-family: Georgia, serif;
    line-height: 1;
}

.story-content {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 40px 0 24px;
    position: relative;
    z-index: 1;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
}

.story-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.story-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.story-role {
    font-size: 13px;
    color: #94a3b8;
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.cta-btn-primary svg {
    width: 18px;
    height: 18px;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* 首页响应式 */
@media (max-width: 1024px) {
    .hero-new .store-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-new-content {
        order: 1;
    }

    .hero-new-visual {
        order: 0;
        height: 300px;
    }

    .hero-new-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-new-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenario-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scenario-item.scenario-reverse {
        direction: ltr;
    }

    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-featured {
        grid-column: span 2;
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 60px 0;
    }

    .hero-new-title {
        font-size: 36px;
    }

    .hero-new-visual {
        display: none;
    }

    .hero-new-actions {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .section-title-new {
        font-size: 28px;
    }

    .scenario-title {
        font-size: 24px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-featured {
        grid-column: span 1;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   十五、下载页面样式
   页面: store/index/download.html
   ======================================== */

/* 下载页面主视觉区 */
.download-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0a0f1c 0%, #111827 50%, #1a1f2e 100%);
    overflow: hidden;
}

.download-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    top: -100px;
    right: 10%;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    bottom: -50px;
    left: 5%;
}

.download-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.version-tag {
    font-size: 12px;
    font-weight: 600;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-number {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.download-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.text-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 40px;
}

.download-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.download-btn-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.download-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.download-btn-main .btn-icon {
    width: 24px;
    height: 24px;
}

.download-btn-main .btn-icon svg {
    width: 100%;
    height: 100%;
}

.download-btn-main .btn-text {
    font-size: 18px;
}

.download-btn-main .btn-size {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.download-btn-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.download-btn-secondary .btn-icon {
    width: 24px;
    height: 24px;
}

.download-btn-secondary .btn-icon svg {
    width: 100%;
    height: 100%;
}

.download-btn-secondary .btn-text {
    font-size: 18px;
}

.download-btn-secondary .btn-size {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: #06b6d4;
}

/* 版本选择区 */
.version-section {
    padding: 80px 0;
    background: #fff;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.version-card {
    padding: 32px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.version-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.version-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.version-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.version-icon svg {
    width: 24px;
    height: 24px;
}

.version-stable .version-icon {
    background: #ecfdf5;
    color: #10b981;
}

.version-beta .version-icon {
    background: #fff7ed;
    color: #f97316;
}

.version-label {
    padding: 4px 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.version-label-beta {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.version-name {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.version-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

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

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.info-label {
    color: #94a3b8;
}

.info-value {
    color: #0f172a;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.version-download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.version-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.version-download-btn svg {
    width: 18px;
    height: 18px;
}

.version-download-btn-beta {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.version-download-btn-beta:hover {
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* 系统要求区 */
.requirements-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

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

.requirements-content {
    padding: 20px 0;
}

.requirements-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 16px 0 32px;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.requirement-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.requirement-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.requirement-pass {
    background: #ecfdf5;
    color: #10b981;
}

.requirement-icon svg {
    width: 20px;
    height: 20px;
}

.requirement-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.requirement-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.requirement-value {
    font-size: 13px;
    color: #64748b;
}

.requirements-visual {
    display: flex;
    justify-content: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tech-name {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.tech-version {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'JetBrains Mono', monospace;
}

.tech-php .tech-version {
    color: #777bb4;
}

.tech-mysql .tech-version {
    color: #00758f;
}

.tech-nginx .tech-version {
    color: #009639;
}

.tech-composer .tech-version {
    color: #885630;
}

/* 快速开始区 */
.quickstart-section {
    padding: 80px 0;
    background: #fff;
}

.quickstart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.step-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.step-arrow {
    color: #cbd5e1;
    flex-shrink: 0;
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

.code-block {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-title {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.code-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-copy:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.code-copy svg {
    width: 14px;
    height: 14px;
}

.code-content {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.code-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
}

/* 历史版本区 */
.history-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.history-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.history-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.history-table tr:last-child td {
    border-bottom: none;
}

.history-table tr:hover td {
    background: #f8fafc;
}

.version-tag-table {
    padding: 4px 10px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.status-badge-stable {
    padding: 4px 10px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge-lts {
    padding: 4px 10px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge-legacy {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.table-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.table-download-link:hover {
    background: #3b82f6;
    color: #fff;
}

.table-download-link svg {
    width: 14px;
    height: 14px;
}

/* 下载弹窗 */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.download-modal.show {
    display: flex;
}

.download-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

.download-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.download-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.download-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.download-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.download-modal-body {
    padding: 24px;
}

.download-file-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.file-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.file-icon svg {
    width: 28px;
    height: 28px;
}

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

.file-name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.file-size {
    font-size: 13px;
    color: #64748b;
}

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

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.progress-percent {
    font-weight: 700;
    color: #0f172a;
}

.progress-speed {
    color: #64748b;
}

.download-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: flex-end;
}

.download-cancel-btn {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-cancel-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 下载通知 */
.download-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}

.download-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.download-notification svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* 下载页面响应式 */
@media (max-width: 1024px) {
    .download-hero {
        padding: 60px 0;
    }

    .download-title {
        font-size: 40px;
    }

    .download-actions {
        flex-direction: column;
        align-items: center;
    }

    .download-btn-main,
    .download-btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .version-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quickstart-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .history-table-wrap {
        overflow-x: auto;
    }

    .history-table {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .download-title {
        font-size: 32px;
    }

    .download-desc {
        font-size: 16px;
    }

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

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-item {
        padding: 16px 20px;
    }

    .step-item {
        min-width: auto;
        max-width: none;
    }
}

/* ========================================
   十六、加载动画
   ======================================== */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========================================
   十七、应用中心/插件中心页面样式
   页面: store/app/index.html, store/plugin/index.html
   ======================================== */

/* 市场页面Hero区域 */
.marketplace-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.marketplace-hero-plugin {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.marketplace-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}

.gradient-mesh-plugin {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(20, 184, 166, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(45, 212, 191, 0.2) 0%, transparent 60%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.5);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(139, 92, 246, 0.4);
    bottom: -50px;
    left: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(59, 130, 246, 0.3);
    top: 40%;
    right: 30%;
    animation-delay: -10s;
}

.marketplace-hero-plugin .shape-1 {
    background: rgba(16, 185, 129, 0.5);
}

.marketplace-hero-plugin .shape-2 {
    background: rgba(20, 184, 166, 0.4);
}

.marketplace-hero-plugin .shape-3 {
    background: rgba(45, 212, 191, 0.3);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.marketplace-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.marketplace-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #a5b4fc;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.marketplace-badge-plugin {
    color: #6ee7b7;
}

.marketplace-badge svg {
    width: 18px;
    height: 18px;
}

.marketplace-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.marketplace-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px;
    line-height: 1.6;
}

/* 搜索框 */
.marketplace-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 6px;
    transition: all 0.3s ease;
}

.search-input-wrap.focused {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.marketplace-hero-plugin .search-input-wrap.focused {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.search-input-wrap.focused .search-icon {
    color: rgba(255, 255, 255, 0.9);
}

.search-input-wrap.focused .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 16px;
    flex-shrink: 0;
}



.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marketplace-hero-plugin .search-btn {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.marketplace-hero-plugin .search-btn:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* 热门标签 */
.hot-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hot-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.hot-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* 精选推荐区域 */
.featured-section {
    padding: 60px 0;
    background: #f8fafc;
}

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.section-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.section-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

/* 精选滚动容器 */
.featured-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.featured-card {
    flex-shrink: 0;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.featured-large {
    width: 480px;
    display: flex;
    flex-direction: row;
}

.featured-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.featured-large .featured-image {
    width: 50%;
    height: auto;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.featured-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

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

.featured-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.featured-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-stat,
.meta-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.meta-stat svg,
.meta-rating svg {
    width: 16px;
    height: 16px;
}

.meta-rating svg {
    color: #f59e0b;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-tag {
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
}

.price-tag-free {
    color: #10b981;
}

.price-tag-premium {
    font-size: 14px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    border-radius: 6px;
}

.view-btn {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #3b82f6;
    color: #fff;
}

/* 筛选工具栏 */
.filter-bar-section {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #f1f5f9;
    color: #475569;
}

.filter-tab.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.marketplace-hero-plugin ~ .filter-bar-section .filter-tab.active {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select-wrap {
    position: relative;
}

.filter-select {
    padding: 10px 36px 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: #cbd5e1;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 应用/插件网格 */
.apps-grid-section {
    padding: 40px 0 80px;
    background: #f8fafc;
}

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

.app-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.app-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-image img {
    transform: scale(1.08);
}

.app-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover .app-card-overlay {
    opacity: 1;
}

.app-card-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.marketplace-hero-plugin ~ .apps-grid-section .app-card-btn {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.app-card:hover .app-card-btn {
    transform: translateY(0);
}

.app-card-btn:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.app-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
}

.app-card-tag-official {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.app-card-tag-hot {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
}

.app-card-tag-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
}

.app-card-body {
    padding: 20px;
}

.app-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.app-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.app-card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
}

.stat-item svg {
    width: 16px;
    height: 16px;
}

.app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.app-card-category {
    font-size: 12px;
    color: #64748b;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 4px;
}

.app-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
}

.app-card-price-free {
    color: #10b981;
}

.app-card-price-premium {
    font-size: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    border-radius: 4px;
}

/* 加载更多 */
.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

.load-more-btn .spinning {
    animation: spin 1s linear infinite;
}

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

/* 通知提示 */
.marketplace-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #0f172a;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.marketplace-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.marketplace-notification svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* 响应式 - 应用中心/插件中心 */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-large {
        flex-direction: column;
        width: 320px;
    }

    .featured-large .featured-image {
        width: 100%;
        height: 180px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .marketplace-hero {
        padding: 60px 0 80px;
    }

    .marketplace-title {
        font-size: 36px;
    }

    .marketplace-desc {
        font-size: 16px;
    }

    .search-input-wrap {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }

    .search-btn {
        width: 100%;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        width: 280px;
    }

    .featured-large {
        width: 280px;
    }

    .hot-tags {
        display: none;
    }

    .filter-options {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ========================================
   十八、登录页面样式
   页面: store/public/login.html
   ======================================== */

/* 登录页面背景装饰 */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.login-bg .bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.login-bg .shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.login-bg .shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #722ed1 0%, #eb2f96 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.login-bg .shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fa8c16 0%, #fadb14 100%);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
    opacity: 0.3;
}

.login-bg .bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 登录容器 */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
    margin-top: 65px;
    box-sizing: border-box;
}

/* 左侧品牌区域 */
.login-brand {
    width: 480px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border-radius: 12px 0 0 12px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.login-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.login-brand .brand-content {
    position: relative;
    z-index: 1;
}

.login-brand .brand-logo {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-brand .brand-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.login-brand .brand-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 100px;
    font-weight: 300;
}

.login-brand .brand-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-brand .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.login-brand .feature-item i {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.login-brand .brand-illustration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 110px;
    opacity: 0.4;
}

.login-brand .illustration-svg {
    width: 100%;
    height: 100%;
}

/* 右侧登录表单区域 */
.login-form-wrapper {
    width: 440px;
    background: #fff;
    border-radius: 0 12px 12px 0;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.login-form-wrapper .login-card {
    width: 100%;
}

.login-form-wrapper .login-header {
    text-align: center;
    margin-bottom: -5px;
}

.login-form-wrapper .login-title {
    font-size: 24px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 6px 0;
}

.login-form-wrapper .login-subtitle {
    font-size: 13px;
    color: #8c8c8c;
    margin: 0;
}

/* 登录表单样式 */
.login-form .form-group {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.login-form .form-group.focused {
    transform: translateX(4px);
}

.login-form .form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #595959;
    margin-bottom: 8px;
    width: auto;
    text-align: left;
    padding-top: 0;
}

.login-form .form-label i {
    color: #1890ff;
    font-size: 14px;
    width: auto;
}

.login-form .input-wrapper {
    position: relative;
}

.login-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    color: #262626;
    background: #fff;
    border: 1.5px solid #d9d9d9;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.login-form .form-control:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.login-form .form-control::placeholder {
    color: #8c8c8c;
}

.login-form .password-wrapper {
    position: relative;
}

.login-form .password-wrapper .form-control {
    padding-right: 48px;
}

.login-form .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8c8c8c;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-form .password-toggle:hover {
    color: #1890ff;
}


.login-form .captcha-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-form .captcha-wrapper .input-wrapper {
    flex: 1;
}

.login-form .captcha-wrapper .form-control {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-form .verify_img {
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-form .verify_img:hover {
    opacity: 0.8;
}

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

.login-form .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #595959;
}

.login-form .remember-me input[type="checkbox"] {
    display: none;
}

.login-form .remember-me .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.login-form .remember-me .checkmark::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 11px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.login-form .remember-me input[type="checkbox"]:checked + .checkmark {
    background: #1890ff;
    border-color: #1890ff;
}

.login-form .remember-me input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.login-form .remember-text {
    user-select: none;
}

.login-form .forgot-password {
    font-size: 14px;
    color: #1890ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-form .forgot-password:hover {
    color: #096dd9;
    text-decoration: underline;
}

/* 登录按钮 */
.login-form .btn-login {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.login-form .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.login-form .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
}

.login-form .btn-login:hover::before {
    left: 100%;
}

.login-form .btn-login:active {
    transform: translateY(0);
}

.login-form .btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-form .btn-login .btn-icon {
    transition: all 0.3s ease;
}

.login-form .btn-login:hover .btn-icon {
    transform: translateX(4px);
}

/* 分隔线 */
.login-form-wrapper .login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #8c8c8c;
    font-size: 13px;
}

.login-form-wrapper .login-divider::before,
.login-form-wrapper .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9d9d9, transparent);
}

.login-form-wrapper .login-divider span {
    padding: 0 16px;
}

/* 社交登录 */
.login-form-wrapper .social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.login-form-wrapper .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-form-wrapper .social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.login-form-wrapper .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.login-form-wrapper .social-btn:hover::before {
    opacity: 1;
}

.login-form-wrapper .social-btn.wechat {
    background: #07c160;
}

.login-form-wrapper .social-btn.qq {
    background: #12b7f5;
}

.login-form-wrapper .social-btn.weibo {
    background: #e6162d;
}

/* 登录页脚 */
.login-form-wrapper .login-footer {
    text-align: center;
    font-size: 14px;
    color: #595959;
}

.login-form-wrapper .register-link {
    color: #1890ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-form-wrapper .register-link:hover {
    color: #096dd9;
    text-decoration: underline;
}

/* 登录页面响应式 */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-brand {
        width: 100%;
        min-height: auto;
        border-radius: 12px 12px 0 0;
        padding: 40px 30px;
        text-align: center;
    }

    .login-brand .brand-logo {
        margin: 0 auto 20px;
    }

    .login-brand .brand-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .login-brand .brand-illustration {
        display: none;
    }

    .login-form-wrapper {
        width: 100%;
        min-height: auto;
        border-radius: 0 0 12px 12px;
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .login-brand {
        padding: 30px 20px;
    }

    .login-brand .brand-title {
        font-size: 24px;
    }

    .login-brand .brand-desc {
        font-size: 14px;
    }

    .login-form-wrapper {
        padding: 30px 20px;
    }

    .login-form-wrapper .login-title {
        font-size: 24px;
    }

    .login-form .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .login-form .verify_img {
        width: 100%;
        height: 50px;
    }

    .login-form .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* 登录表单错误状态 */
.login-form .has-error .form-control {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

.login-form .has-error .form-label {
    color: #ff4d4f;
}

/* 登录表单成功状态 */
.login-form .has-success .form-control {
    border-color: #52c41a;
    box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.1);
}

/* 登录按钮加载状态 */
.login-form .btn-login.loading .btn-icon {
    animation: spin 1s linear infinite;
}

/* 输入框自动填充样式覆盖 */
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #262626;
    transition: background-color 5000s ease-in-out 0s;
}

/* ========================================
   十九、注册页面专用样式
   页面: store/public/register.html
   ======================================== */

/* 用户协议复选框 */
.login-form .agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #595959;
    line-height: 1.5;
}

.login-form .agreement-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.login-form .agreement-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #d9d9d9;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s ease;
    order: -1;
}

.login-form .agreement-checkbox .checkmark::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 10px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.login-form .agreement-checkbox input[type="checkbox"]:checked ~ .checkmark,
.login-form .agreement-checkbox input[type="checkbox"].checked ~ .checkmark {
    background: #1890ff;
    border-color: #1890ff;
}

.login-form .agreement-checkbox input[type="checkbox"]:checked ~ .checkmark::after,
.login-form .agreement-checkbox input[type="checkbox"].checked ~ .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.login-form .agreement-text {
    user-select: none;
    display: inline;
    visibility: visible;
    opacity: 1;
}

.login-form .agreement-text a {
    color: #1890ff;
    text-decoration: none;
}

.login-form .agreement-text a:hover {
    text-decoration: underline;
}

/* 表单验证错误提示 */
.login-form label.error {
    display: block;
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 6px;
    padding-left: 0;
}

.login-form .agreement-checkbox label.error {
    margin-top: 8px;
    margin-left: 24px;
}

/* ========================================
   二十、文档页面样式
   页面: store/doc/index.html
   ======================================== */

/* 文档页面基础 */
.doc-page {
    background: #f8fafc;
    min-height: calc(100vh - 64px);
}

/* 文档头部 */
.doc-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.doc-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.doc-header-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.doc-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.doc-subtitle {
    font-size: 18px;
    opacity: 0.8;
    margin: 0 0 32px 0;
    font-weight: 300;
}

/* 文档搜索 */
.doc-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.doc-search-input {
    width: 100%;
    height: 56px;
    padding: 0 60px 0 24px;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.doc-search-input:focus {
    outline: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.doc-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.doc-search-btn:hover {
    background: #2563eb;
    transform: translateY(-50%) scale(1.05);
}

/* 文档布局 */
.doc-layout {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

/* 左侧侧边栏 */
.doc-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.doc-nav {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 84px;
}

.doc-nav-section {
    margin-bottom: 24px;
}

.doc-nav-section:last-child {
    margin-bottom: 0;
}

.doc-nav-title {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    padding-left: 12px;
}

.doc-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.doc-nav-list li {
    margin: 4px 0;
}

.doc-nav-list li.active a {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 500;
}

.doc-nav-list a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.doc-nav-list a:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

/* 右侧内容区 */
.doc-content {
    flex: 1;
    min-width: 0;
}

.doc-article {
    background: #fff;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.doc-article h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.doc-article h2 {
    font-size: 24px;
    font-weight: 600;
    color: #334155;
    margin: 40px 0 20px 0;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.doc-article h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.doc-lead {
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 32px 0;
}

.doc-article p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 16px 0;
}

/* 特性网格 */
.doc-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.doc-feature-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.doc-feature-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.doc-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.doc-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.doc-feature-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* 系统要求 */
.doc-requirements {
    background: #f8fafc;
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e2e8f0;
}

.doc-requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.doc-requirement-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doc-requirement-item:first-child {
    padding-top: 0;
}

.doc-requirement-label {
    font-weight: 500;
    color: #475569;
}

.doc-requirement-value {
    color: #64748b;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
}

/* 代码块 */
.doc-code-block {
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin: 24px 0;
}

.doc-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.doc-code-lang {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 500;
}

.doc-code-copy {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.doc-code-copy:hover {
    color: #fff;
    background: #334155;
}

.doc-code-block pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.doc-code-block code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
}

/* 目录树 */
.doc-directory-tree {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin: 24px 0;
    border: 1px solid #e2e8f0;
}

.doc-tree-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
}

.doc-tree-item i {
    color: #f59e0b;
    width: 16px;
}

.doc-tree-indent {
    padding-left: 24px;
}

.doc-tree-desc {
    color: #94a3b8;
    font-size: 13px;
    margin-left: auto;
}

/* 分页导航 */
.doc-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
}

.doc-pagination-prev,
.doc-pagination-next {
    flex: 1;
}

.doc-pagination-next {
    text-align: right;
}

.doc-pagination-prev.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.doc-pagination a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.doc-pagination a:hover {
    color: #3b82f6;
}

.doc-pagination-label {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.doc-pagination-title {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
}

.doc-pagination a:hover .doc-pagination-title {
    color: #3b82f6;
}

/* 文档页面响应式 */
@media (max-width: 1024px) {
    .doc-layout {
        flex-direction: column;
    }

    .doc-sidebar {
        width: 100%;
    }

    .doc-nav {
        position: static;
    }

    .doc-nav-section {
        display: inline-block;
        vertical-align: top;
        width: 50%;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .doc-article {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .doc-header {
        padding: 40px 0;
    }

    .doc-title {
        font-size: 28px;
    }

    .doc-subtitle {
        font-size: 15px;
    }

    .doc-feature-grid {
        grid-template-columns: 1fr;
    }

    .doc-nav-section {
        width: 100%;
        display: block;
    }

    .doc-article {
        padding: 24px;
    }

    .doc-article h1 {
        font-size: 24px;
    }

    .doc-article h2 {
        font-size: 20px;
    }

    .doc-pagination {
        flex-direction: column;
        gap: 16px;
    }

    .doc-pagination-next {
        text-align: left;
    }
}

/* ========================================
   二十二、注册页面Tab切换样式
   页面: user/register.html
   ======================================== */

/* 注册方式Tab切换 - 简洁版 */
.register-tabs {
    display: flex;
    margin-top: 20px;
    margin-bottom: 16px;
    background: #f5f7fa;
    padding: 4px;
    border-radius: 10px;
    position: relative;
    height: 48px;
    box-sizing: border-box;
}

.register-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8c8c8c;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    height: 40px;
}

.register-tab:hover {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.06);
}

.register-tab.active {
    background: #fff;
    color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
}

/* 底部指示器 */
.register-tab.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #1890ff, #40a9ff);
    border-radius: 2px;
}

.register-tab .tab-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s ease;
}

.register-tab.active .tab-icon {
    color: #1890ff;
}

.register-tab .tab-text {
    letter-spacing: 0.2px;
}

/* 注册表单 */
.register-form {
    display: none;
}

.register-form.active {
    display: block;
    animation: formFadeIn 0.4s ease;
}

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

/* 获取验证码按钮 */
.btn-get-code {
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.25);
}

.btn-get-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
}

.btn-get-code:active {
    transform: translateY(0);
}

.btn-get-code:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 注册页面响应式 */
@media (max-width: 576px) {
    .register-tabs {
        flex-direction: row;
        gap: 4px;
    }

    .register-tab {
        padding: 12px 8px;
    }

    .register-tab .tab-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .register-tab .tab-text {
        font-size: 12px;
    }

    .captcha-wrapper {
        flex-wrap: wrap;
    }

    .btn-get-code {
        width: 100%;
        margin-top: 8px;
    }
}

/* ========================================
   二十一、找回密码页面专用样式
   页面: user/find_password.html
   ======================================== */

/* 找回密码表单 */
.find-password-form {
    display: none;
}

.find-password-form.active {
    display: block;
    animation: formFadeIn 0.4s ease;
}

/* 找回密码Tab样式 - 复用注册页样式 */
.find-password-tabs {
    display: flex;
    margin-top: 20px;
    margin-bottom: 16px;
    background: #f5f7fa;
    padding: 4px;
    border-radius: 10px;
    position: relative;
    height: 48px;
    box-sizing: border-box;
}

/* 找回密码页脚链接 */
.find-password-footer {
    text-align: center;
    font-size: 14px;
    color: #595959;
    margin-top: 20px;
}

.find-password-footer a {
    color: #1890ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.find-password-footer a:hover {
    color: #096dd9;
    text-decoration: underline;
}

/* 找回密码成功提示 */
.find-password-success {
    text-align: center;
    padding: 40px 20px;
}

.find-password-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(82, 196, 26, 0.3);
}

.find-password-success .success-title {
    font-size: 24px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 12px;
}

.find-password-success .success-desc {
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 32px;
    line-height: 1.6;
}

.find-password-success .btn-back-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.find-password-success .btn-back-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
}

/* 找回密码页面响应式 */
@media (max-width: 576px) {
    .find-password-tabs {
        flex-direction: row;
        gap: 4px;
    }

    .find-password-success {
        padding: 30px 15px;
    }

    .find-password-success .success-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

    .find-password-success .success-title {
        font-size: 20px;
    }
}

/* ========================================
   二十二、文章资讯列表页面样式
   页面: article/index.html
   ======================================== */

/* 文章页面头部横幅 */
.article-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.8) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #fff;
}

.article-breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.article-breadcrumb span {
    color: #fff;
}

.article-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.article-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 300;
}

/* 文章主内容区 */
.article-main {
    padding: 40px 0 80px;
    background: #f8fafc;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

/* 筛选栏 */
.article-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-categories {
    display: flex;
    gap: 8px;
}

.filter-item {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.filter-item:hover {
    background: #f1f5f9;
    color: #334155;
}

.filter-item.active {
    background: #1890ff;
    color: #fff;
}

.filter-sort .sort-select {
    padding: 8px 32px 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #fff;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.article-card-link {
    display: grid;
    grid-template-columns: 280px 1fr;
    text-decoration: none;
    color: inherit;
}

.article-card-image {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: #1890ff;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-summary {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.meta-stats {
    display: flex;
    gap: 16px;
}

.meta-item {
    font-size: 13px;
    color: #94a3b8;
}

.meta-item i {
    margin-right: 4px;
}

/* 分页 */
.article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

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

.page-ellipsis {
    color: #94a3b8;
    padding: 0 8px;
}

/* 侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

/* 搜索框 */
.sidebar-search {
    display: flex;
    gap: 8px;
}

.search-input:focus-visible {
    border: 1px solid #e0e0e0;
}
.search-input:focus {
    background: transparent;
}

.search-btn {
    padding: 0 20px;
    height: 40px;
    background: #1890ff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.search-btn:hover {
    background: #096dd9;
}

/* 热门文章 */
.hot-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-article-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hot-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

.hot-rank.rank-1 {
    background: #fef3c7;
    color: #d97706;
}

.hot-rank.rank-2 {
    background: #e0e7ff;
    color: #4f46e5;
}

.hot-rank.rank-3 {
    background: #fce7f3;
    color: #db2777;
}

.hot-article-link {
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.hot-article-link:hover {
    color: #1890ff;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    border-bottom: 1px solid #f1f5f9;
}

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

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #334155;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #1890ff;
}

.category-name {
    font-size: 14px;
}

.category-count {
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 16px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1890ff;
    color: #fff;
}

.tag-item.tag-lg {
    font-size: 14px;
    padding: 8px 16px;
}

/* 订阅 */
.widget-subscribe {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
}

.widget-subscribe .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.subscribe-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.subscribe-btn {
    padding: 12px;
    background: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1890ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #f1f5f9;
}

/* ========================================
   二十三、文章详情页面样式
   页面: article/view.html
   ======================================== */

/* 文章详情头部 */
.article-view-hero {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    overflow: hidden;
    margin-bottom: 30px;
}

.article-view-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.view-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.view-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.9) 100%);
}

.article-view-header {
    position: relative;
    z-index: 1;
    color: #fff;
}

.article-view-category {
    display: inline-block;
    padding: 6px 16px;
    background: #1890ff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.article-view-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.article-view-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.article-view-meta .meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-view-meta .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.article-view-meta .author-info {
    display: flex;
    flex-direction: column;
}

.article-view-meta .author-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.article-view-meta .author-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.article-view-meta .meta-stats {
    display: flex;
    gap: 20px;
}

.article-view-meta .meta-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 文章详情主内容 */
.article-view-main {
    padding: 0 0 80px;
    background: #f8fafc;
    margin-bottom: 60px;
}

.article-view-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.article-view-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.article-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 40px;
}

.article-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 32px 0;
    padding: 24px;
    background: #f8fafc;
    border-left: 4px solid #1890ff;
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 40px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.article-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 20px 0;
}

.article-body ul {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
}

/* 文章表格 */
.article-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.article-table th,
.article-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.article-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.article-table td {
    color: #334155;
}

.text-success {
    color: #10b981;
    font-weight: 600;
}

/* 代码块 */
.article-code {
    position: relative;
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    overflow-x: auto;
}

.article-code code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre;
}

.code-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 引用块 */
.article-quote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    border-left: 4px solid #d97706;
}

.article-quote p {
    font-size: 18px;
    font-style: italic;
    color: #92400e;
    margin: 0 0 12px 0;
}

.article-quote cite {
    font-size: 14px;
    color: #b45309;
    font-style: normal;
    font-weight: 500;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 40px;
    border-top: 1px solid #f1f5f9;
}

.tags-label {
    font-size: 14px;
    color: #64748b;
    margin-right: 8px;
}

.tag-link {
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 16px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #1890ff;
    color: #fff;
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px 24px;
}

.share-label {
    font-size: 14px;
    color: #64748b;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.wechat {
    background: #07c160;
}

.share-btn.weibo {
    background: #e6162d;
}

.share-btn.qq {
    background: #12b7f5;
}

.share-btn.link {
    background: #64748b;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 文章导航 */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 40px;
    border-top: 1px solid #f1f5f9;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: #f1f5f9;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 13px;
    color: #64748b;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 评论区 */
.article-comments {
    padding: 40px;
    border-top: 1px solid #f1f5f9;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 24px 0;
}

.comment-form {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.comment-user .comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.comment-input-wrap {
    flex: 1;
}

.comment-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.comment-input:focus {
    border-color: #1890ff;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.comment-submit {
    padding: 10px 24px;
    background: #1890ff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-submit:hover {
    background: #096dd9;
}

/* 评论列表 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comment-item {
    display: flex;
    gap: 16px;
}

.comment-avatar-wrap .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.comment-badge {
    padding: 2px 8px;
    background: #1890ff;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
}

.comment-time {
    font-size: 13px;
    color: #94a3b8;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 12px 0;
}

.comment-footer {
    display: flex;
    gap: 16px;
}

.comment-reply,
.comment-like {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-reply:hover,
.comment-like:hover {
    color: #1890ff;
}

/* 子评论 */
.comment-replies {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.reply-item {
    margin-top: 16px;
}

.reply-item .comment-avatar {
    width: 32px;
    height: 32px;
}

/* 加载更多 */
.comments-more {
    text-align: center;
    margin-top: 32px;
}

.btn-load-more {
    padding: 12px 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: #e2e8f0;
    color: #334155;
}

/* 文章详情侧边栏 */
.article-view-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 作者卡片 */
.widget-author .author-card {
    text-align: center;
}

.author-cover {
    height: 80px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border-radius: 8px 8px 0 0;
    margin: -24px -24px 0;
}

.author-profile {
    padding-top: 20px;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-top: -60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-profile .author-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 12px 0 4px;
}

.author-bio {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
}

.btn-follow {
    width: 100%;
    padding: 10px;
    background: #1890ff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-follow:hover {
    background: #096dd9;
}

/* 目录导航 */
.widget-toc .toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc-link:hover,
.toc-link.active {
    background: #f1f5f9;
    color: #1890ff;
}

/* 相关文章 */
.related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    border-bottom: 1px solid #f1f5f9;
}

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

.related-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    text-decoration: none;
}

.related-title {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-link:hover .related-title {
    color: #1890ff;
}

.related-meta {
    font-size: 12px;
    color: #94a3b8;
}

/* 文章页面响应式 */
@media (max-width: 1024px) {
    .article-layout,
    .article-view-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar,
    .article-view-sidebar {
        order: 2;
    }

    .article-content-area,
    .article-view-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 40px;
    }

    .article-hero-title {
        font-size: 28px;
    }

    .article-card-link {
        grid-template-columns: 1fr;
    }

    .article-card-image {
        height: 200px;
    }

    .article-filter {
        flex-direction: column;
        gap: 16px;
    }

    .filter-categories {
        flex-wrap: wrap;
        justify-content: center;
    }

    .article-view-title {
        font-size: 24px;
    }

    .article-view-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-featured-image {
        height: 240px;
    }

    .article-body {
        padding: 24px;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .article-comments {
        padding: 24px;
    }
}
