/* Testimonials Page Styles */

.testimonials-main {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    padding-top: 80px;
}

/* Hero Section */
.testimonials-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* 分页导航（顶部） */
.pagination-top {
    padding: 2rem 0;
    background: rgba(26, 26, 46, 0.5);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.pagination-container-top {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pagination-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pagination-list-top {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-item-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--text-light);
    white-space: nowrap;
}

.pagination-item-top:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
}

.pagination-item-top.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.pagination-item-top.active .page-number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/* Testimonials Wrapper */
.testimonials-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

/* 推荐语网格布局 - 两排显示 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 100%;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-size: 6rem;
    color: rgba(99, 102, 241, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
}

.testimonial-zh {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.testimonial-zh p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
    font-weight: 400;
}

.testimonial-en {
    padding-left: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.testimonial-en p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: auto;
}

.author-info {
    text-align: right;
}

.author-name-zh {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-title-zh {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.author-name-en {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.author-title-en {
    font-size: 0.9rem;
    color: rgba(160, 160, 184, 0.6);
    font-style: italic;
}

/* Navigation Links */
.testimonials-nav {
    padding: 3rem 0;
    background: rgba(99, 102, 241, 0.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
}

.nav-icon {
    font-size: 1.5rem;
}

.page-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s;
    flex-shrink: 0;
}

.page-label {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-wrapper {
        padding: 0 2rem;
    }
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-zh p,
    .testimonial-en p {
        font-size: 1rem;
    }

    .quote-icon {
        font-size: 4rem;
        top: -0.5rem;
        left: -0.5rem;
    }

    .testimonial-zh,
    .testimonial-en {
        padding-left: 1rem;
    }
    
    .pagination-list-top {
        gap: 0.75rem;
    }
    
    .pagination-item-top {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .page-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .page-label {
        font-size: 0.85rem;
    }
    
    .testimonials-wrapper {
        padding: 0 1.5rem;
    }
}

