/**
 * AI Landing Page - 主样式文件
 * 完全响应式设计，符合Google Ads政策
 */

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: #0f172a;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ==================== 落地页容器 ==================== */
.landing-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ==================== Hero区域 ==================== */
.hero-section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 60px 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 顶部标签 */
.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

/* 主标题 */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    letter-spacing: -0.02em;
}

/* 副标题 */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    line-height: 1.5;
    font-weight: 400;
}

/* ==================== 特性网格 ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== 社会证明 ==================== */
.social-proof {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.social-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.social-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* ==================== CTA按钮 ==================== */
.cta-container {
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.clicked {
    animation: buttonPulse 0.3s ease;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); }
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ==================== 信任标识 ==================== */
.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
    font-size: 1.3rem;
}

/* ==================== 动态技术栈 ==================== */
.tech-stack {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
}

.tech-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.tech-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.tech-item {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: all 0.3s ease;
    animation: techFloat 3s ease-in-out infinite;
}

.tech-item:nth-child(1) { animation-delay: 0s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.4s; }
.tech-item:nth-child(4) { animation-delay: 0.6s; }
.tech-item:nth-child(5) { animation-delay: 0.8s; }

.tech-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.tech-item.highlight {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ==================== 弹窗模态框 ==================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.3);
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.popup-content {
    text-align: center;
}

.popup-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.5),
                inset 0 2px 0 rgba(255, 255, 255, 0.2);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(34, 197, 94, 0.7);
    }
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 15px;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.popup-features li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    border-radius: 8px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.popup-features li:hover {
    background: rgba(34, 197, 94, 0.15);
    transform: translateX(5px);
}

.popup-button-primary {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.popup-button-primary:active {
    transform: translateY(-1px);
}

/* 弹窗表单样式 */
.popup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.form-input {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox span {
    flex: 1;
    line-height: 1.4;
}

/* 弹窗分隔符 */
.popup-divider {
    margin: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    position: relative;
}

.popup-divider::before,
.popup-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.popup-divider::before {
    left: 0;
}

.popup-divider::after {
    right: 0;
}

/* 次要按钮 (WhatsApp等) */
.popup-button-secondary {
    width: 100%;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup-button-secondary:active {
    transform: translateY(0);
}

.popup-notice {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.popup-secondary-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.whatsapp-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #25D366;
}

.contact-secondary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

/* ==================== 信息弹窗样式 ==================== */
.info-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    text-align: left;
    margin: auto;
}

.info-title {
    color: #22c55e;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #22c55e;
    padding-bottom: 15px;
}

.info-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

.info-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
}

.info-content p {
    margin-bottom: 12px;
}

.info-content ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

.info-content ul li {
    margin-bottom: 8px;
}

.info-content strong {
    color: #22c55e;
}

/* ==================== Footer ==================== */
.landing-footer {
    width: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.footer-link:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 公司联系信息 */
.footer-contact {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    line-height: 1.8;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact .contact-item {
    margin: 5px 0;
}

.footer-contact strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    line-height: 1.5;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer strong {
    color: #ef4444;
    font-weight: 700;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-proof {
        gap: 40px;
    }
    
    .social-number {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 350px;
    }
    
    .trust-badges {
        gap: 15px;
    }
    
    .footer-nav {
        gap: 20px;
    }
    
    .footer-disclaimer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-tag {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .feature-item {
        padding: 12px 15px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-item {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}

/* ==================== 可访问性 ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ==================== 高对比度模式 ==================== */
@media (prefers-contrast: high) {
    .feature-item,
    .trust-item {
        border-width: 2px;
    }
    
    .cta-button {
        border: 2px solid white;
    }
}

/* ==================== 文章和页面样式 ==================== */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.post {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.post-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #8b5cf6;
}

.post-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-meta span::before {
    content: "•";
    margin-right: 5px;
    color: var(--primary-color);
}

.post-meta span:first-child::before {
    display: none;
}

.post-body,
.post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 10px;
}

.post-body p {
    margin-bottom: 15px;
}

.post-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.post-tags {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags .tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.post-tags .tag:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.post-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8b5cf6;
}

/* 置顶标识 */
.istop-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* 评论区域 */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.comments-list {
    list-style: none;
    padding: 0;
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.comment-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px;
}

.comment-date {
    color: rgba(255, 255, 255, 0.5);
}

.comment-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.comment-children {
    list-style: none;
    padding-left: 30px;
    margin-top: 15px;
}

/* 评论表单 */
.comment-form {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.comment-form h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* 分页条 */
.pagebar {
    margin: 40px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

/* 搜索结果页 */
.search-results h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

/* 404页面 */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-title {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.error-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.error-actions {
    margin-top: 40px;
}

/* 列表页文章列表 */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
