/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
}

.container {
    max-width: 1000px; /* 减小最大宽度 */
    margin: 0 auto;
    padding: 0 15px; /* 减小左右边距 */
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px; /* 减小按钮大小 */
    border: none;
    border-radius: 6px; /* 减小圆角 */
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease; /* 减少过渡时间 */
    font-size: 14px; /* 减小字体 */
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ffd700;
}

.btn-outline:hover {
    background: #ffd700;
    /* 去除transform效果，避免晃动 */
}

.btn-large {
    padding: 12px 24px; /* 减小大按钮尺寸 */
    font-size: 16px; /* 减小大按钮字体 */
}

.btn-extra-large {
    padding: 25px 60px;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-extra-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.btn-sm {
    padding: 6px 12px; /* 减小小按钮尺寸 */
    font-size: 12px;
}

.btn-full {
    width: 100%;
}

/* 升级会员按钮 - 超大醒目版 */
.upgrade-btn-pulse {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    font-size: 1.1rem !important;
    padding: 16px 40px !important;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease;
}

.upgrade-btn-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

.upgrade-btn-pulse .btn-text {
    display: inline-block;
    animation: text-glow 1.2s ease-in-out infinite alternate;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.upgrade-btn-pulse .btn-text::after {
    content: '升级会员';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #ff6b6b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 1.5s linear infinite;
    z-index: 1;
}

.upgrade-btn-glow {
    animation: glow-pulse 1.2s infinite;
}

.upgrade-btn-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes text-glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

@keyframes rainbow-text {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px 15px rgba(255, 107, 107, 0.4);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
        transform: scale(1);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.8);
    }
}

@keyframes title-glow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.7));
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes text-glow {
    0% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.7;
        filter: brightness(1.5);
    }
    100% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes rainbow-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes title-shine {
    0% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
    100% {
        background-position: 200% 50%;
        filter: brightness(1);
    }
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08); /* 减小阴影 */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.2s ease; /* 减少过渡时间 */
}

.nav-container {
    max-width: 1000px; /* 减小最大宽度 */
    margin: 0 auto;
    padding: 0.75rem 15px; /* 减小上下边距 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px; /* 减小间距 */
    font-size: 1.25rem; /* 减小字体 */
    font-weight: bold;
    color: #333;
}

.brand-icon {
    font-size: 1.5rem; /* 减小图标大小 */
}

.brand-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 1.5rem; /* 减小间距 */
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease; /* 减少过渡时间 */
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px; /* 减小距离 */
    left: 0;
    right: 0;
    height: 2px;
    background: #ffd700;
}

.nav-auth {
    display: flex;
    gap: 0.75rem; /* 减小间距 */
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 减小间距 */
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* 减小间距 */
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem; /* 减小字体 */
}

.user-plan {
    font-size: 0.75rem; /* 减小字体 */
    color: #666;
    background: #ffd700;
    padding: 1px 6px; /* 减小内边距 */
    border-radius: 10px; /* 减小圆角 */
    font-weight: 500;
}

.user-credits {
    font-size: 0.75rem; /* 减小字体 */
    color: #666;
}

/* Hero 区域 */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 50%, #e8ebf0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px; /* 增加最大宽度，容纳更多内容 */
    margin: 0 auto;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.free-badge {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(238, 90, 111, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 
        0 4px 20px rgba(255, 107, 107, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    white-space: nowrap;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.free-badge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(255, 107, 107, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
    }
}

.hero h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #667eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    font-weight: 800;
}

.hero-subtitle-inline {
    font-size: 1.4rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    letter-spacing: 0.3px;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem; /* 增加副标题字体 */
    color: #666;
    margin-bottom: 3rem; /* 增加下边距 */
    line-height: 1.6;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 2rem; /* 增加按钮间距 */
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0; /* 减少上边距，让标签更靠上 */
}

.description-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.description-highlight:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.description-highlight .icon {
    font-size: 1.2rem;
}

.description-highlight .text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.description-tag {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    color: #475569;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem; /* 增大字体 */
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
    animation: glow-pulse 2s infinite;
    letter-spacing: 1px; /* 增加字间距 */
    transform: scale(1.05); /* 稍微放大 */
}

/* 工具展示区域 */
.tools {
    padding: 10px 0; /* 大幅减少上边距，让工具卡片紧贴上方 */
    background: #fff;
}

.section-title {
    font-size: 1.8rem; /* 减小标题字体 */
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem; /* 减小下边距 */
    color: #333;
}

.section-subtitle {
    font-size: 1rem; /* 减小副标题字体 */
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem; /* 减小下边距 */
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card-large {
    padding: 2.5rem;
    min-height: 380px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ffd700;
}

.tool-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2);
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.tool-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.tool-description {
    font-size: 0.9rem; /* 减小描述字体 */
    color: #666;
    line-height: 1.5;
}

/* 工具特性标签 */
.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

/* 工具按钮 */
.tool-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 定价区域 */
.pricing {
    padding: 50px 0; /* 减小上下边距 */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 减小最小宽度以适应4个卡片 */
    gap: 1.5rem; /* 减小间距 */
    max-width: 1200px; /* 增加最大宽度以容纳4个卡片 */
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 12px; /* 减小圆角 */
    padding: 1.5rem; /* 减小内边距 */
    text-align: center;
    position: relative;
    transition: all 0.2s ease; /* 减少过渡时间 */
    border: 2px solid #e9ecef;
}

.pricing-card.popular {
    border-color: #ffd700;
    /* 去除transform效果，避免晃动 */
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15); /* 减小阴影 */
}

.pricing-badge {
    position: absolute;
    top: -10px; /* 减小距离 */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 3px 12px; /* 减小内边距 */
    border-radius: 15px; /* 减小圆角 */
    font-size: 0.8rem; /* 减小字体 */
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 1.5rem; /* 减小下边距 */
}

.pricing-title {
    font-size: 1.3rem; /* 减小标题字体 */
    font-weight: 600;
    margin-bottom: 0.75rem; /* 减小下边距 */
    color: #333;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem; /* 减小间距 */
}

.price-currency {
    font-size: 1rem; /* 减小字体 */
    color: #666;
}

.price-amount {
    font-size: 2.5rem; /* 减小价格字体 */
    font-weight: 800;
    color: #333;
}

.price-period {
    color: #666;
    font-size: 0.9rem; /* 减小字体 */
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem; /* 减小下边距 */
}

.pricing-features li {
    padding: 0.5rem 0; /* 减小上下边距 */
    border-bottom: 1px solid #e9ecef;
    color: #666;
    font-size: 0.9rem; /* 减小字体 */
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
}

/* 关于区域 */
.about {
    padding: 50px 0; /* 减小上下边距 */
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* 减小间距 */
    align-items: center;
}

.about-text h3 {
    font-size: 1.6rem; /* 减小标题字体 */
    font-weight: 600;
    margin-bottom: 0.75rem; /* 减小下边距 */
    color: #333;
}

.about-text p {
    font-size: 1rem; /* 减小段落字体 */
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* 减小下边距 */
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* 减小间距 */
}

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

.stat-number {
    font-size: 1.5rem; /* 减小数字字体 */
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.3rem; /* 减小下边距 */
}

.stat-label {
    color: #666;
    font-size: 0.8rem; /* 减小标签字体 */
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 2rem 0 1rem; /* 减小上边距 */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 减小最小宽度 */
    gap: 1.5rem; /* 减小间距 */
    margin-bottom: 1.5rem; /* 减小下边距 */
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px; /* 减小间距 */
    font-size: 1.1rem; /* 减小字体 */
    font-weight: bold;
    margin-bottom: 0.75rem; /* 减小下边距 */
}

.footer-desc {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.9rem; /* 减小字体 */
}

.footer-title {
    font-size: 1rem; /* 减小标题字体 */
    font-weight: 600;
    margin-bottom: 0.75rem; /* 减小下边距 */
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 0.3rem; /* 减小下边距 */
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease; /* 减少过渡时间 */
    font-size: 0.9rem; /* 减小字体 */
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem; /* 减小上边距 */
    border-top: 1px solid #555;
    font-size: 0.8rem; /* 减小字体 */
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0.5rem 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .free-badge {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem; /* 移动端调整字体 */
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-subtitle-inline {
        font-size: 1.2rem; /* 移动端副标题 */
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .description-tag {
        font-size: 1rem; /* 移动端调整标签字体 */
        padding: 0.8rem 1.5rem;
    }
    
    .tools, .pricing, .about {
        padding: 40px 0;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px; /* 从400px增大到800px */
    width: 90%;
    max-height: 90vh; /* 限制最大高度，避免超出屏幕 */
    overflow-y: auto; /* 内容过多时可以滚动 */
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px); /* 减小移动距离 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px; /* 减小圆角 */
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 16px; /* 减小大小 */
    height: 16px; /* 减小大小 */
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具页面样式 */
.tool-page {
    padding: 100px 0 50px;
    min-height: 100vh;
}

.tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.tool-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tool-header p {
    color: #666;
    font-size: 1rem;
}

.tool-workspace {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.upload-area:hover {
    border-color: #ffd700;
}

.upload-area.dragover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.upload-text {
    color: #666;
    margin-bottom: 1rem;
}

.upload-button {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.upload-button:hover {
    background: #ffed4e;
}

.file-input {
    display: none;
}

.preview-area {
    display: none;
    margin-bottom: 2rem;
}

.preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.preview-item {
    text-align: center;
}

.preview-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.preview-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.process-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.process-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.process-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.process-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.download-button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.download-button:hover {
    background: #218838;
}

/* 用户资料页面 */
.profile-container {
    max-width: 100%; /* 从600px改为100%，充分利用模态框空间 */
    margin: 0 auto;
    padding: 1.5rem;
}

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

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #333;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.profile-email {
    color: #666;
    margin-bottom: 1rem;
}

.profile-plan {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #666;
    font-size: 0.875rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    max-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.info {
    border-left: 4px solid #007bff;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.notification-message {
    color: #666;
    font-size: 0.875rem;
}

/* 移动端优化 - 增强版 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 250px;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    /* 移动端导航栏优化 */
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-auth {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    .user-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .user-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 移动端工具卡片优化 */
    .tool-card {
        padding: 1rem;
    }
    
    .tool-card h3 {
        font-size: 1.1rem;
    }
    
    /* 移动端模态框优化 */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    /* 移动端表单优化 */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px; /* 防止iOS自动缩放 */
        padding: 0.75rem;
    }
    
    /* 移动端按钮优化 */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 14px;
        min-height: 44px; /* iOS推荐的最小触摸目标 */
    }
    
    /* 移动端上传区域优化 */
    .upload-area {
        padding: 2rem 1rem;
        min-height: 200px;
    }
    
    .upload-text {
        font-size: 1rem;
    }
    
    /* 移动端结果展示优化 */
    .result-container {
        padding: 1rem;
    }
    
    .result-image {
        max-width: 100%;
        height: auto;
    }
}

/* 进度动画样式 */
.processing-area {
    text-align: center;
    padding: 3rem 2rem;
}

.processing-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.processing-dots {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.processing-dots span {
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    animation: dot-bounce 1.4s infinite ease-in-out both;
}

.processing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.processing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.processing-dots span:nth-child(3) {
    animation-delay: 0;
}

.processing-text {
    margin-bottom: 2rem;
}

.processing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.processing-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.processing-progress {
    max-width: 300px;
    margin: 0 auto 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

.progress-text {
    font-size: 0.875rem;
    color: #666;
    font-weight: 600;
}

.processing-tips {
    margin-top: 2rem;
}

.tip {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
    border-left: 4px solid #ffd700;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* 批量处理样式 */
.batch-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 0.75rem;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #ffd700;
}

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

.toggle-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.batch-upload-area {
    border: 2px dashed #ffd700;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
}

.batch-upload-area:hover {
    border-color: #ffed4e;
    background: #f8f9fa;
}

.batch-upload-header {
    margin-bottom: 1rem;
}

.batch-file-list {
    margin-top: 1.5rem;
    text-align: left;
}

.batch-file-list h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.file-items {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    margin-bottom: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s ease;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background: #f8f9fa;
}

.file-item-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-item-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.file-item-details {
    flex: 1;
}

.file-item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.file-item-size {
    color: #666;
    font-size: 0.8rem;
}

.file-item-status {
    margin-left: 0.75rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.file-item-status.pending {
    background: #fff3cd;
    color: #856404;
}

.file-item-status.processing {
    background: #cce5ff;
    color: #004085;
}

.file-item-status.completed {
    background: #d4edda;
    color: #155724;
}

.file-item-status.error {
    background: #f8d7da;
    color: #721c24;
}

.file-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.file-item-remove:hover {
    background: #f8d7da;
}

.batch-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 0;
}

.batch-progress {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.batch-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.batch-progress-title {
    font-weight: 600;
    color: #333;
}

.batch-progress-stats {
    font-size: 0.875rem;
    color: #666;
}

.batch-progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.batch-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.batch-progress-text {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.batch-results {
    margin-top: 1.5rem;
}

.batch-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.batch-results-title {
    font-weight: 600;
    color: #333;
}

.batch-download-all {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.batch-download-all:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
}

.batch-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: white;
}

.batch-result-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.batch-result-preview {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 1rem;
    border: 1px solid #e9ecef;
}

.batch-result-details {
    flex: 1;
}

.batch-result-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.batch-result-size {
    color: #666;
    font-size: 0.8rem;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .batch-toggle {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .batch-actions {
        flex-direction: column;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .file-item-info {
        width: 100%;
    }
    
    .batch-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .batch-result-info {
        width: 100%;
    }
    
    .batch-result-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 结果展示样式 */
.result-container {
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.result-container h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.result-preview {
    text-align: center;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.result-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    background: #fff;
    padding: 0.5rem;
}

.result-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.result-info p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

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

.result-actions .btn {
    min-width: 120px;
}

.result-actions a.btn {
    text-decoration: none;
    display: inline-block;
}

/* 警告提示框 */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-warning strong {
    font-weight: 700;
}

/* 错误容器 */
.error-container {
    padding: 2rem;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #dc3545;
    margin: 1rem 0;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 处理状态样式 */
.processing-container {
    padding: 3rem 2rem;
    text-align: center;
}

.processing-animation {
    margin: 2rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-text {
    margin-top: 1.5rem;
}

.processing-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.processing-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.processing-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.processing-tips {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

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

/* 响应式：结果展示 */
@media (max-width: 768px) {
    .result-container {
        padding: 1rem;
    }
    
    .result-image {
        max-height: 300px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
}

/* ========== 用户体验优化：加载动画和按钮反馈 ========== */

/* 按钮点击反馈动画 */
@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.btn:active {
    animation: buttonClick 0.2s ease-out;
}

/* 成功提示动画 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 防止按钮重复点击 */
.btn.processing {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.processing::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

/* ========== 社区文章样式 ========== */
.community {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.article-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1) inset;
}

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

.article-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-date {
    color: #94a3b8;
    font-size: 0.875rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-summary {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: #94a3b8;
}

.article-author,
.article-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-detail {
    padding: 20px 0;
}

.article-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.article-detail-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.article-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
}

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

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-detail-header h2 {
        font-size: 1.5rem;
    }
}