* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #ffffff;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #f0f4f8 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) translateX(20px);
        opacity: 1;
    }
}

/* 导航栏 */
header {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 语言切换器 */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    text-decoration: none;
}

.language-option:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.language-option.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主要内容 */
main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    margin: 1rem auto;
    max-width: 1200px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item::after {
    content: '>';
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
}

.breadcrumb-item:last-child::after {
    content: '';
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* 搜索框 */
.search-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* 文章检测表单样式 */
.article-check-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.article-check-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.article-check-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-input {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    min-height: 150px;
    transition: all 0.3s ease;
    /* 移除resize属性，避免影响富文本编辑器 */
}

/* 确保富文本编辑器容器不受article-input类的resize影响 */
#article-content.article-input {
    resize: none;
}

/* 富文本编辑器容器样式 */
#article-content {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 富文本编辑器样式 */
#article-content .ql-container {
    font-size: 1rem;
    font-family: inherit;
    min-height: 200px;
    border: none;
    background: transparent;
    overflow: auto;
}

#article-content .ql-editor {
    padding: 1rem 1.5rem;
    min-height: 200px;
    color: var(--text-primary);
    line-height: 1.6;
    background: white;
}

#article-content .ql-toolbar {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#article-content .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#article-content .ql-container.ql-snow {
    border: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#article-content:hover {
    border-color: var(--primary-color);
}

#article-content:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#article-content .ql-editor.ql-blank::before {
    color: var(--text-secondary);
    font-style: italic;
}

/* 确保富文本编辑器可以正常输入 */
#article-content .ql-editor:focus {
    outline: none;
}

/* 响应式富文本编辑器样式 */
@media (max-width: 768px) {
    #article-content .ql-editor {
        min-height: 150px;
    }
}

.article-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 响应式表单样式 */
@media (max-width: 768px) {
    .article-check-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .article-input {
        min-height: 120px;
    }
}

/* 广告横幅 */
.banner-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.banner-section:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-content h2:last-child {
    margin-bottom: 1.5rem;
}

.banner-highlight {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1em;
    text-decoration: underline;
}

.banner-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* 工具卡片 */
.tools-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.tool-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tool-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.tool-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* 功能特性 */
.features {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 结果展示区域 */
.results-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.8));
    border-radius: 16px;
    margin: 1rem 0;
}

.loading-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.8), rgba(255, 255, 255, 0.8));
    border-radius: 16px;
    margin: 1rem 0;
}

.error-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.error-container p {
    color: #ef4444;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    max-width: 500px;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.result-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    border-color: var(--primary-color);
}

.result-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.result-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* TDK区块样式 */
.tdk-section {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.25rem 0;
}

.tdk-section .result-label {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tdk-section div {
    width: 100%;
}

/* TDK标签样式 */
.tdk-label {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(148, 163, 184, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.result-status {
    padding: 0.35rem 1rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-good {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.status-warning {
    background: rgba(234, 179, 8, 0.12);
    color: #ca8a04;
}

.status-bad {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.status-info {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

/* SEO问题与建议样式优化 */
.result-card:last-child {
    grid-column: 1 / -1;
}

.result-card:last-child h3 {
    margin-bottom: 2rem;
}

.result-card:last-child > div {
    margin-bottom: 2.5rem;
}

.result-card:last-child > div:last-child {
    margin-bottom: 0;
}

.result-card:last-child h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-card:last-child > div > div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-card:last-child > div > div > div {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.result-card:last-child > div > div > div:last-child {
    margin-bottom: 0;
}

/* 评分卡片特殊样式 */
.result-card:first-child {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.result-card:first-child h3 {
    border-bottom-color: rgba(99, 102, 241, 0.3);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 页脚 */
footer {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .results-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .search-box {
        flex-direction: column;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .results-section {
        padding: 1.5rem;
    }
    
    .results-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .result-card {
        padding: 1.25rem;
    }
    
    .result-card h3 {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }
    
    .result-item {
        padding: 0.75rem 0;
    }
    
    /* 确保SEO问题卡片在移动端也保持良好显示 */
    .result-card:last-child {
        grid-column: 1;
    }
}

/* 联系页面样式 - 简洁卡片版 */

/* 联系我们英雄区域 */
.contact-hero {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* 联系方式卡片区域 */
.contact-cards-section {
    margin-bottom: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* 简洁卡片样式 */
.contact-card-simple {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card-simple:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
    border-color: var(--primary-color);
}

.contact-card-simple:hover::before {
    transform: scaleX(1);
}

/* 卡片头部 */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.qq-icon {
    background: linear-gradient(135deg, #12B7F5, #00C8FF);
}

.wechat-icon {
    background: linear-gradient(135deg, #26CE5A, #4CD964);
}

.telegram-icon {
    background: linear-gradient(135deg, #0088CC, #2AABEE);
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* 卡片内容 */
.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    text-align: center;
}

/* 联系链接 */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    font-size: 0.95rem;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.link-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-link:hover .link-arrow {
    transform: translateX(4px);
}

/* 微信卡片特殊样式 */
.wechat-qrcode-simple {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.wechat-qrcode-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    background: white;
}

.wechat-qrcode-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.qrcode-placeholder-simple {
    width: 140px;
    height: 140px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qrcode-placeholder-simple:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.qrcode-text-simple {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
}

.wechat-tip-simple {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0.5rem 0 0;
    font-style: italic;
}

/* 联系表单区域 */
.contact-form-section-simple {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-simple {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 表单行布局 */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

/* 表单组样式 */
.form-group-simple {
    display: flex;
    flex-direction: column;
}

.form-group-simple input,
.form-group-simple textarea {
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group-simple input:focus,
.form-group-simple textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
}

.form-group-simple textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* 提交按钮 */
.submit-btn-simple {
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.submit-btn-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* 联系页面响应式设计 */
@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 1rem 1rem;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .contact-card-simple {
        padding: 1.5rem;
    }

    .contact-form-section-simple {
        padding: 1.5rem;
        margin: 0 1rem 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn-simple {
        align-self: stretch;
    }
}

/* 蜘蛛日志分析页面样式 */
.spider-log-settings {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(148, 163, 184, 0.3);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

input:focus + .slider {
    box-shadow: 0 0 1px rgba(99, 102, 241, 0.5);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* 标签样式 */
.setting-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.spider-log-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.spider-log-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    min-height: 200px;
    resize: vertical;
    transition: all 0.3s ease;
}

.spider-log-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 文件上传样式 */
.file-upload-container {
    position: relative;
    margin-bottom: 1rem;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.file-upload-icon {
    font-size: 2rem;
}

.file-upload-text {
    flex: 1;
}

.file-upload-text div:first-child {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#log-file {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
}

.file-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 蜘蛛日志分析表格样式 */
.spider-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.spider-table th {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.spider-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.spider-table tr:last-child td {
    border-bottom: none;
}

.spider-table tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

.spider-table .status-code {
    font-weight: 600;
}

.spider-table .status-good {
    color: #16a34a;
}

.spider-table .status-warning {
    color: #ca8a04;
}

.spider-table .status-bad {
    color: #dc2626;
}

.spider-table .url-cell {
    word-break: break-all;
    max-width: 300px;
}

/* 时间分布样式 */
.time-distribution {
    width: 100%;
}

.time-slot {
    margin-bottom: 1rem;
}

.time-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.time-bar-container {
    position: relative;
    height: 30px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.time-bar {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    transition: width 0.5s ease;
}

.time-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    z-index: 1;
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.6rem;
    }

    .contact-card-simple {
        padding: 1.25rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .contact-value {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .qrcode-placeholder-simple {
        width: 120px;
        height: 120px;
    }
    
    /* 响应式蜘蛛日志分析样式 */
    .spider-log-tabs {
        flex-direction: column;
    }
    
    .spider-table {
        font-size: 0.8rem;
    }
    
    .spider-table th,
    .spider-table td {
        padding: 0.5rem;
    }
    
    .time-slot {
        margin-bottom: 0.75rem;
    }
}