* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 滚动指示器样式 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 71, 87, 0.1);
    z-index: 9999;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    width: 0%;
    transition: width 0.3s ease;
}

:root {
    --primary: #ff4757;
    --primary-dark: #ff3742;
    --primary-light: #ff6b6b;
    --accent: #ff8e8e;
    --accent-light: #ffb3b3;
    --text: #1f2937;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --text-dark: #2c3e50;
    --bg: #ffffff;
    --bg-light: #fff5f5;
    --bg-lighter: #ffe8e8;
    --border: #ffd6d6;
    --border-light: #ffe8e8;
    --shadow: 0 4px 6px -1px rgba(255, 71, 87, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(255, 71, 87, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(255, 71, 87, 0.2);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* 按钮样式优化 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.btn-outline {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    color: white !important;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-outline:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.btn-text {
    background: transparent;
    color: #374151;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-text:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-fire {
    background: linear-gradient(135deg, #ff0000, #ff3333, #ff6666);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-fire:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* 模板区域样式 */
.templates {
    padding: 80px 0 20px 0;
    background: var(--bg);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .template-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.template-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.template-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.template-preview {
    height: 120px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    position: relative;
    padding: 1rem;
}

.template-header {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.template-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: #ff4757;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.template-body {
    margin-top: 1rem;
}

.template-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.template-line.short {
    width: 60%;
}

.template-name {
    padding: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.template-meta {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.template-cta {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.template-cta-text {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* 安全保障区域样式优化 */
.security {
    padding: 30px 0 100px 0;
    background: #ffffff;
    position: relative;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="security-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23666" opacity="0.08"/><circle cx="60" cy="60" r="0.5" fill="%23666" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23security-pattern)"/></svg>');
    opacity: 1;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    /* 确保网格中的卡片具有相同的高度 */
    align-items: stretch;
    /* 确保网格容器本身也有明确的高度 */
    min-height: 600px;
    /* 确保网格布局稳定 */
    grid-auto-rows: 1fr;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .security-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: stretch;
        grid-auto-rows: 1fr;
    }
}

@media (max-width: 1024px) {
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: stretch;
        grid-auto-rows: 1fr;
    }
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: stretch;
        /* 移动端调整最小高度 */
        min-height: auto;
        grid-auto-rows: 1fr;
    }
    
    .security-card {
        /* 移动端调整最小高度 */
        min-height: 450px;
    }
    
    .security-card-footer {
        /* 移动端确保底部对齐 */
        margin-top: auto;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .security-card {
        /* 小屏幕进一步调整 */
        min-height: 400px;
        padding: 2rem;
    }
    
    .security-card-footer {
        /* 小屏幕调整间距 */
        padding-top: 1rem;
    }
    
    .security-level,
    .security-status {
        /* 小屏幕调整尺寸 */
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        min-width: 50px;
        height: 20px;
    }
}

.security-card {
    background: linear-gradient(to right, #FFB3B3, #FF4D4D);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(255, 77, 77, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    /* 确保所有卡片具有相同的高度 */
    height: 100%;
    display: flex;
    flex-direction: column;
    /* 确保内容合理分布 */
    min-height: 500px;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 77, 77, 0.3);
    background: linear-gradient(to right, #FFB3B3, #FF4D4D);
    border-color: rgba(255, 255, 255, 0.5);
}

.security-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    /* 确保头部内容不占用过多空间 */
    flex-shrink: 0;
}

.security-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.security-card:hover .security-icon {
    background: rgba(255, 255, 255, 1);
    color: #ff0000;
    transform: scale(1.05);
}

.security-badge {
    background: #FF3333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid #FF3333;
}

.security-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    /* 确保标题不占用过多空间 */
    flex-shrink: 0;
}

.security-description {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    /* 确保描述不占用过多空间 */
    flex-shrink: 0;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    /* 让特性列表占据剩余空间 */
    flex: 1;
    /* 确保特性列表可以灵活调整 */
    min-height: 0;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: #ffffff;
}

.security-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(3px);
}

.security-feature i {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.security-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* 确保底部信息始终在卡片底部 */
    margin-top: auto;
    /* 确保底部内容不占用过多空间 */
    flex-shrink: 0;
}

.security-level {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* 确保最小宽度一致 */
    min-width: 60px;
    text-align: center;
    /* 确保高度一致 */
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-status {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 500;
    background: rgba(40, 167, 69, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(40, 167, 69, 0.6);
    /* 确保最小宽度一致 */
    min-width: 60px;
    text-align: center;
    /* 确保高度一致 */
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-header-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 2rem;
    margin: 0 auto 2rem;
}

.security-subtitle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.security-tag {
    background: transparent;
    color: #ff0000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #ff0000;
}

.security-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.security-stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.security-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.02), rgba(255, 107, 107, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.security-stat:hover::before {
    opacity: 1;
}

.security-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 0, 0, 0.1);
}

.security-stat:hover .stat-icon {
    background: rgba(255, 255, 255, 1);
    color: #ff0000;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff0000;
    text-align: center;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* 导航栏优化 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: #ff4757;
    font-weight: bold;
}

.logo-highlight {
    color: white;
    background: #ff4757;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    margin-left: 0.25rem;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* 导航栏下拉菜单 */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 10px 25px rgba(255, 71, 87, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.8);
    list-style: none;
    padding: 8px;
    margin: 0;
    backdrop-filter: blur(10px);
}

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

/* 下拉菜单链接样式 - 简化按钮美化 */
.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 1px 0;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-link:last-child {
    border-bottom: none;
}

/* 悬停效果 - 简单实现 */
.dropdown-link:hover {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    color: white;
}

/* 当前页面active状态 */
.dropdown-link.active {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    color: white;
}

/* 英雄区域优化 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 50%, #ff8e8e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.ai-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 产品展示区域 */
.hero-visual {
    position: relative;
    z-index: 2;
}

.product-showcase {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* 标签页切换功能 */
.editor-interface {
    display: none;
    flex: 1;
    flex-direction: column;
}

.editor-interface.active {
    display: flex;
}

/* 代码高亮样式 */
.keyword { color: #d73a49; font-weight: bold; }
.function { color: #6f42c1; font-weight: bold; }
.string { color: #032f62; }
.number { color: #005cc5; }
.comment { color: #6a737d; font-style: italic; }

.showcase-tabs {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.tab.active {
    color: var(--primary);
    background: white;
    border-bottom: 2px solid var(--primary);
}

.tab:hover {
    background: var(--bg-lighter);
    color: var(--primary);
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab.active::after {
    width: 100%;
}

.showcase-window {
    background: white;
    height: 450px;
    max-height: 450px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.window-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
    flex: 1;
    text-align: center;
    font-weight: 500;
    color: var(--text);
}

.window-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--bg-lighter);
    color: var(--text);
}

.window-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



.editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #ffffff;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.toolbar-left, .toolbar-right {
    display: flex;
    gap: 0.25rem;
}

.tool-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
}

.tool-btn:hover {
    background: #f9fafb;
    color: #1f2937;
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 1000;
}

.tool-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.editor-content {
    background: #ffffff;
    border-radius: var(--radius);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #e5e7eb;
    flex: 1;
    min-height: 0;
}

.content-line {
    display: flex;
    padding: 0.25rem 0.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.content-line:hover {
    background: var(--bg-lighter);
}

.line-number {
    color: #6b7280;
    width: 2rem;
    text-align: right;
    margin-right: 1rem;
    user-select: none;
    font-weight: 500;
}

.content-text {
    color: #1f2937;
    flex: 1;
    font-weight: 500;
}

/* 代码高亮样式 */
.keyword { color: #d73a49; font-weight: bold; }
.function { color: #6f42c1; font-weight: bold; }
.string { color: #032f62; }
.number { color: #005cc5; }
.comment { color: #6a737d; font-style: italic; }

/* 模板网格迷你版 */
.template-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
    max-height: 280px;
    overflow-y: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .template-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .template-grid-mini {
        grid-template-columns: 1fr;
    }
}

.template-item-mini {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.template-item-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.template-preview-mini {
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-header-mini {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.template-name-mini {
    padding: 0.4rem;
    text-align: center;
    font-weight: 500;
    color: var(--text);
    font-size: 0.7rem;
    line-height: 1.2;
}

/* 功能特色区域优化 */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 142, 142, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 142, 142, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 动态红红火火背景装饰 */
.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 71, 87, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 142, 142, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: backgroundFloat 8s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.8;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.security .section-header {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e, #ffb3b3);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    position: relative;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.feature-list i {
    color: white;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-action {
    text-align: center;
}

/* 功能亮点展示样式 */
.features-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 142, 142, 0.08) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 107, 107, 0.2);
    position: relative;
    z-index: 1;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff4757, #ff6b6b);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.highlight-item:hover::before {
    transform: scaleY(1);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
}

.highlight-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.highlight-content h3 {
    margin: 0 0 0.5rem 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .template-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    

    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 71, 87, 0.05);
        margin-top: 0.5rem;
        border-radius: 12px;
        padding: 10px;
    }

    .dropdown-link {
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 10px;
        margin: 2px 4px;
    }
    
    .dropdown-link {
        padding: 10px 16px;
        font-size: 1rem;
        border-radius: 6px;
        margin: 1px 0;
    }
    
    .dropdown-link:hover {
        background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
        color: white;
    }
    
    .dropdown-link.active {
        background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
        color: white;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--text);
        margin: 3px 0;
        transition: 0.3s;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .features-highlight {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* 论文查重页面样式 */
.plagiarism-hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 50%, #ff3838 100%);
    color: white;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.plagiarism-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.plagiarism-hero .container {
    position: relative;
    z-index: 1;
}

/* 页面头部样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.header-badge i {
    color: #fff;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #ffe6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.section-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 登录验证区域 */
.login-required {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.login-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.login-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 工具区域样式 */
.tools-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tools-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tools-header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.plagiarism-tools {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.upload-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-area {
    text-align: center;
    padding: 3rem 2rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.upload-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.feature-item i {
    color: #4CAF50;
    font-size: 1rem;
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.upload-area h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.upload-area p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.file-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.file-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.file-icon {
    font-size: 2rem;
    opacity: 0.8;
    color: #4CAF50;
}

.file-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.file-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.file-size {
    opacity: 0.7;
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 1rem;
}

.check-options {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
}

.check-options h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.option-desc {
    font-size: 0.8rem;
    opacity: 0.7;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.option-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.option-item input[type="checkbox"]:checked + .checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.option-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.option-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 查重进度样式 */
.check-progress {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-header {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.progress-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.progress-header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-header {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.progress-header p {
    opacity: 0.8;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.step-title {
    font-weight: 600;
    font-size: 1rem;
}

.step-desc {
    font-size: 0.8rem;
    opacity: 0.7;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-item i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.step.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    opacity: 1;
}

.step.completed {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
    opacity: 1;
}

.step i {
    font-size: 1.5rem;
    color: #4CAF50;
}

.step span {
    font-size: 0.8rem;
    text-align: center;
}

/* 查重结果样式 */
.check-result {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.result-header {
    margin-bottom: 2rem;
}

.result-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.similarity-score {
    display: flex;
    justify-content: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.score-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.score-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 查重报告模板样式 */
.report-template {
    background: #f8f9fa;
    padding: 80px 0;
    min-height: 100vh;
}

.report-header {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.report-header h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.report-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
}

.meta-label {
    color: #666;
    font-weight: 500;
}

.meta-value {
    color: #333;
}

.report-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.report-section {
    margin-bottom: 2rem;
}

.report-section:last-child {
    margin-bottom: 0;
}

.report-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5rem;
}

.similarity-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.overview-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.overview-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.overview-label {
    color: #666;
    font-size: 0.9rem;
}

.analysis-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.detail-header {
    background: #f8f9fa;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.detail-title {
    font-weight: 500;
    color: #333;
}

.detail-similarity {
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.detail-content {
    padding: 1.5rem;
}

.detail-text {
    margin-bottom: 1rem;
}

.detail-text:last-child {
    margin-bottom: 0;
}

.detail-text strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

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

.suggestion-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.suggestion-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-top: 0.2rem;
}

.suggestion-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.suggestion-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.report-footer {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.report-footer p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .plagiarism-tools {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .similarity-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .suggestions {
        grid-template-columns: 1fr;
    }
    
    .report-meta {
        grid-template-columns: 1fr;
    }
}

/* 合作伙伴区域样式 */
.partners {
    padding: 80px 0;
    background: white;
}

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

.partners-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.partner-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.partner-logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
}

.partners-stats {
    margin-top: 3rem;
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-text {
    color: var(--text-light);
    font-size: 1rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-title {
        font-size: 2rem;
    }
    
    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 页脚样式 */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

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

.footer-description {
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
    line-height: 1.6;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 71, 87, 0.3);
    padding-top: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ff4757, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: #ff4757;
    font-weight: bold;
}

.footer-logo .logo-highlight {
    color: white;
    background: #ff4757;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    margin-left: 0.25rem;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* 页脚响应式优化 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 用户评价区域样式 */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonials-cta {
    text-align: center;
}

.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.testimonial-stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* 合作伙伴区域样式 */

/* 统计区域响应式优化 */
@media (max-width: 768px) {
    .security-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .security-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .security-stat {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}



/* 页面中央提示样式 */
.page-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: toastSlideIn 0.3s ease-out;
    max-width: 300px;
    text-align: center;
}

.page-toast.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.page-toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.page-toast.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* 降重功能展示样式 */
.jiangchong-showcase {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-features .feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.showcase-features .feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.showcase-features .feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.showcase-features .feature-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.showcase-features .feature-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.showcase-action {
    display: flex;
    justify-content: center;
}

.action-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary);
    max-width: 400px;
}

.action-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.action-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* 工具卡片增强样式 */
.tool-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
    transform: scale(1.05);
}

.tool-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-features .feature-item {
        padding: 1rem;
    }
    
    .showcase-features .feature-item .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .action-card {
        padding: 2rem;
    }
    
    .tool-card.featured {
        transform: none;
    }
    
    .tool-card.featured:hover {
        transform: translateY(-5px);
    }
}
