/* ============================================
   RTX.IM 响应式网站样式 - AstrBot风格白色系版
   主色调: 白色背景 + 深蓝色(#1e3a5f) + 亮蓝色(#0ea5e9)
   ============================================ */

/* CSS 变量 */
:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --accent-color: #1e3a5f;
    --secondary-color: #10b981;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 40px rgba(14, 165, 233, 0.15);
    --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.2);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   头部导航 - 简洁白色风格
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-item:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(14, 165, 233, 0.1);
}

.nav-item-highlight {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav-item-highlight:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   首页横幅 - 白色背景 + 淡蓝色渐变光晕
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
    padding-top: 72px;
}

/* 淡蓝色渐变光晕效果 - 居中向外扩散 */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 1000px;
    max-height: 1000px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.6) 0%, rgba(165, 243, 252, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(224, 231, 255, 0.5) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* 额外的淡蓝色光晕 */
.hero-glow {
    position: absolute;
    bottom: 10%;
    right: 20%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.4) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.hero-contact {
    color: var(--text-lighter);
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-contact a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    color: var(--text-lighter);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ============================================
   功能特性 - 简洁卡片设计
   ============================================ */
.features {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-item {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-hover);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   展示区域 - 交替布局
   ============================================ */
.showcase {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-content {
    padding: 20px;
}

.showcase-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 500;
}

.showcase-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
    line-height: 1.3;
}

.showcase-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-light);
}

.showcase-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.showcase-image {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: var(--radius-xl);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(14, 165, 233, 0.05) 100%);
    pointer-events: none;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   更多功能 - 网格卡片
   ============================================ */
.more-features {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.more-item {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.more-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.more-item:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-hover);
}

.more-item:hover::before {
    transform: scaleX(1);
}

.more-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.more-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.more-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CTA区域
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(2, 132, 199, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.5) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: #fff;
    color: var(--text-lighter);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-lighter);
}

/* ============================================
   页面内容区域
   ============================================ */
.main-content {
    padding-top: 72px;
    min-height: calc(100vh - 120px);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   下载页面
   ============================================ */
.download-section {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.download-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-hover);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.download-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.download-version {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.download-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
    color: #fff;
}

.plugins-list {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
}

.plugins-list h2 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.plugin-link {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
}

.plugin-link:last-child {
    border-bottom: none;
}

.plugin-link:hover {
    background: rgba(14, 165, 233, 0.05);
    color: var(--primary-color);
    padding-left: 24px;
}

/* ============================================
   支持页面
   ============================================ */
.support-section {
    padding: 60px 0;
}

.test-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.test-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.server-info {
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    margin: 16px 0;
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   插件市场
   ============================================ */
.plugins-section {
    padding: 60px 0;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.plugin-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.plugin-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-hover);
}

.plugin-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.plugin-card.disabled:hover {
    transform: none;
}

.plugin-header {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.plugin-body {
    padding: 24px;
}

.plugin-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.plugin-summary {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.plugin-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.plugin-version {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.plugin-status {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.status-available { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-coming { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-beta { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-item {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.page-item:hover, .page-item.active {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: transparent;
    color: #fff;
}

/* ============================================
   插件详情页
   ============================================ */
.plugin-detail {
    padding: 48px 0;
}

.plugin-hero {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 48px;
}

.plugin-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.plugin-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plugin-hero-desc {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.7;
}

.plugin-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
}

.feature-card p {
    color: var(--text-light);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* ============================================
   表格样式
   ============================================ */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 24px;
}

.compare-table thead {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.compare-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.compare-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.6;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover {
    background: rgba(14, 165, 233, 0.05);
}

.compare-table tbody tr td:first-child {
    font-weight: 500;
    color: var(--primary-color);
}

/* ============================================
   手机端页面
   ============================================ */
.app-showcase {
    padding: 60px 0;
}

.app-info {
    text-align: center;
    margin-bottom: 48px;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.app-desc {
    color: var(--text-light);
    font-size: 1.125rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.preview-item {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-lg);
    padding: 12px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.preview-item:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
}

.preview-item::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.preview-item::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}

.preview-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.app-features {
    padding: 48px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.app-cta {
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-xl);
    margin-top: 48px;
    border: 1px solid var(--border-color);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .showcase-item {
        gap: 48px;
    }
    
    .plugin-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* 导航 */
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        display: block;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* 首页 */
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 展示区域 */
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .showcase-image {
        min-height: 250px;
        order: -1;
    }
    
    .showcase-title {
        font-size: 1.75rem;
    }
    
    /* 页面标题 */
    .page-title {
        font-size: 2rem;
    }
    
    /* 下载卡片 */
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    /* 插件网格 */
    .plugin-grid {
        grid-template-columns: 1fr;
    }
    
    /* 预览网格 */
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 功能网格 */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    /* Section titles */
    .section-title, .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 80px 16px 40px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .more-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item, .more-item {
        padding: 28px 20px;
    }
    
    .showcase {
        padding: 80px 0;
    }
    
    .features, .more-features {
        padding: 80px 0;
    }
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-lighter);
}

/* 选中文字样式 */
::selection {
    background: rgba(14, 165, 233, 0.2);
    color: var(--text-color);
}
