/* Top Pillows Page Styles */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb li+li:before {
    content: "/";
    color: #b3b3b3;
    padding: 0 8px;
}

.breadcrumb li.active {
    color: #0c4a6e;
    font-weight: 600;
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #6ec1e4;
    text-decoration: underline;
}

/* Reviews Hero Section */
.reviews-hero {
    background: linear-gradient(135deg, #1e40af 0%, #6EC1E4 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
    color: white;
}

.reviews-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.reviews-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.quick-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-nav-link {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-nav-link:hover {
    background-color: white;
    color: #1e40af;
    transform: translateY(-2px);
}

/* Best Overall Section */
.best-overall {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.section-header h2 {
    color: #1e40af;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.best-overall-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 3px solid #6EC1E4;
}

.product-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ef4444;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem;
    align-items: start;
}

.product-image-large {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
}

.rating-large {
    text-align: center;
}

.stars-large {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-score {
    font-size: 1.2rem;
    font-weight: 600;
}

.product-details-large h3 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
}

.original-price {
    font-size: 1.2rem;
    color: #64748b;
    text-decoration: line-through;
}

.discount {
    background-color: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.key-features {
    margin-bottom: 2rem;
}

.key-features h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.feature-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.editor-note {
    background-color: #e0f2fe;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6EC1E4;
    margin-bottom: 2rem;
}

.editor-note h4 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.editor-note p {
    color: #64748b;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.editor-signature {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background-color: #1e40af;
    color: white;
    border: 1px solid #1e40af;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.25);
}

.primary-large:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    box-shadow: 0 6px 8px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: #6EC1E4;
    border: 2px solid #6EC1E4;
}

.cta-button.secondary:hover {
    background-color: #6EC1E4;
    color: white;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background-color: white;
}

.comparison-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
}

.table-wrapper {
    overflow-x: auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.comparison-table th {
    background-color: #1e40af;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    min-width: 220px;
    width: 220px;
    padding: 1rem 1.5rem;
}

.featured-row {
    background-color: #f0f9ff;
    border-left: 4px solid #6EC1E4;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.product-cell img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-info strong {
    color: #1e40af;
    font-size: 0.9rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.badge:not(.budget):not(.premium):not(.cooling) {
    background-color: #ef4444;
    color: white;
}

.badge.budget {
    background-color: #10b981;
    color: white;
}

.badge.premium {
    background-color: #8b5cf6;
    color: white;
}

.badge.cooling {
    background-color: #06b6d4;
    color: white;
}

.price-cell {
    font-size: 1.1rem;
    font-weight: 600;
}

.comparison-table .excellent { color: #10b981 !important; font-weight: 600; }
.comparison-table .good { color: #6EC1E4 !important; font-weight: 600; }
.comparison-table .fair { color: #f59e0b !important; font-weight: 600; }

.rating-cell {
    text-align: center;
}

.rating-cell .stars {
    color: #fbbf24;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.rating-cell span {
    font-size: 0.9rem;
}

/* Detailed Reviews */
.detailed-reviews {
    padding: 80px 0;
    background-color: #f8fafc;
}

.detailed-reviews h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
}

.review-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    overflow: hidden;
}

.review-header {
    background-color: #1e40af;
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.review-rank {
    background-color: #6EC1E4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-title {
    flex-grow: 1;
}

.review-title h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.review-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.review-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #6EC1E4;
    transform: scaleX(0.8);
    transition: transform 0.3s ease;
}

.review-header:hover .review-subtitle::after {
    transform: scaleX(1);
}

.review-rating {
    text-align: center;
}

.review-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.review-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.specifications {
    margin-bottom: 2rem;
}

.specifications h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.spec-grid {
    display: grid;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-label {
    color: #64748b;
    font-weight: 500;
}

.spec-value {
    color: #1e40af;
    font-weight: 600;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pros h4 {
    color: #10b981;
    margin-bottom: 1rem;
}

.cons h4 {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.pros ul,
.cons ul {
    list-style: none;
    margin: 0;
}

.pros li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    color: #64748b;
}

.pros li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cons li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    color: #64748b;
}

.cons li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.who-its-for {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.who-its-for h4 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.who-its-for p {
    color: #64748b;
    margin: 0;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e0f2fe;
    padding: 1.5rem;
    border-radius: 8px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-info .current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.price-info .original-price {
    color: #64748b;
    text-decoration: line-through;
}

.savings {
    background-color: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Buying Guide CTA */
.buying-guide-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    text-align: center;
}

.buying-guide-cta h2 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.buying-guide-cta p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #6EC1E4;
}

.faq-item h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #1e40af 0%, #6EC1E4 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.final-cta .cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.final-cta .cta-button.secondary:hover {
    background-color: white;
    color: #1e40af;
}

.guarantee-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* 确保 final-cta 和 footer 之间没有空白 */
.final-cta + .footer {
    margin-top: 0;
}

/* 消除页面底部多余空白 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

/* 修复不同部分之间的间距 */
section:last-of-type:not(.footer) {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }

    .hero-badge {
        padding: 1rem;
        flex-basis: calc(50% - 1rem);
        box-sizing: border-box;
    }
    
    .quick-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Responsive Comparison Table */
    .table-wrapper {
        overflow-x: unset;
        padding: 0;
    }
    
    .comparison-table {
        border: 0;
        min-width: 0;
        width: 100%;
    }
    
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .comparison-table tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border: 1px solid #e2e8f0;
        margin-bottom: 0.5rem;
        overflow: hidden;
        padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    }
    
    .comparison-table td {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.7rem 0.5rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
        background: none;
    }
    
    .comparison-table td:last-child {
        border-bottom: none;
    }
    
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1e40af;
        margin-right: 1rem;
        flex-shrink: 0;
        text-align: left;
        min-width: 120px;
    }
    
    .comparison-table .product-cell {
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: #f8fafc;
        padding: 1.2rem 0.5rem 0.5rem 0.5rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .comparison-table .product-cell::before {
        display: none;
    }
    
    .comparison-table .product-info strong {
        font-size: 1.15rem;
        margin-top: 0.5rem;
    }
    
    /* Restore button layout inside responsive table */
    .comparison-table .pillow-actions {
        flex-direction: row; 
        gap: 10px;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .comparison-table .pillow-button {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        width: 100%;
        margin: 0.2rem 0;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .review-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .specifications h4,
    .pros h4,
    .cons h4,
    .who-its-for h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .spec-item {
        padding: 0.4rem 0;
    }
    
    .spec-label, .spec-value {
        font-size: 0.95rem;
    }
    
    .pros li, .cons li {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
    }
    
    .who-its-for {
        padding: 1.25rem;
    }
    
    .who-its-for p {
        font-size: 0.95rem;
    }
    
    .cta-button, .pillow-button, .quick-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .quick-nav-link {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-table th:last-child {
       min-width: auto;
       width: auto;
    }

    .review-details {
        padding-bottom: 80px;
    }
    
    .review-details .cta-button {
        width: 80%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .reviews-hero h1 {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-badge {
        padding: 1rem;
        flex-basis: 100%;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
    
    .product-details-large h3 {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .cta-section {
        flex-direction: column;
    }
    
    .review-card {
        margin-bottom: 2rem;
    }
    
    .review-header {
        padding: 1.5rem;
    }
    
    .review-content {
        padding: 1.5rem;
    }
    
    .comparison-table td:last-child {
        min-width: auto;
        width: 100%;
    }
    
    .review-rank {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .review-title h3 {
        font-size: 1.3rem;
    }
    
    .review-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .pillow-button, .cta-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .comparison-table td::before {
        font-size: 0.9rem;
    }
    
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .comparison-table th:last-child,
    .comparison-table td:last-child {
        min-width: auto;
        width: auto;
    }
}

.pillow-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.pillow-button {
    display: inline-block;
    padding: 10px 16px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillow-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pillow-button.buy-button {
    background-color: #1e40af;
    color: white;
    border: 1px solid #1e40af;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.25);
}

.pillow-button.buy-button:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(30, 58, 138, 0.3);
    border-color: #1e3a8a;
}

/* --- Overrides for Comparison Table Buttons --- */
.comparison-table .pillow-actions {
    flex-direction: column;
    gap: 5px; /* Tighter gap for vertical layout */
    margin-top: 0;
}

.comparison-table .pillow-button {
    font-size: 12px; /* Further reduced font size */
    padding: 5px 10px; /* Tighter padding */
}

/* 优化产品评测部分的排版 - 更新版本 */
.review-details {
    position: relative;
    padding-bottom: 70px; /* 为底部的CTA按钮留出空间 */
}

.who-its-for {
    margin-bottom: 30px;
}

.cta-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 15px 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(248,250,252,0.9) 30%);
    border-top: 1px solid #e2e8f0;
}

/* 重新定义.cta-button样式，覆盖之前的定义 */
.review-details .cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #1e40af;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.25);
    border: 1px solid #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.review-details .cta-button:hover {
    transform: translateY(-3px);
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    box-shadow: 0 8px 15px rgba(30, 58, 138, 0.4);
}

/* 添加一个闪光效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .review-details {
        padding-bottom: 80px;
    }
    
    .review-details .cta-button {
        width: 80%;
        padding: 12px 20px;
    }
}

/* 添加高亮效果 */
.review-details .cta-button.highlight {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
    transition: all 0.3s ease;
}

/* 添加一个引导箭头 */
.cta-buttons::before {
    content: "";
    display: none;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
  .comparison-table { display: none; }
  .comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .comparison-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    padding: 1.2rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }
  .card-header img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }
  .card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.5rem 0;
  }
  .card-row:last-child { border-bottom: none; }
  .card-label {
    font-weight: 600;
    color: #1e40af;
    min-width: 120px;
    margin-right: 1rem;
    flex-shrink: 0;
    text-align: left;
  }
  .card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .card-actions .pillow-button {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    width: 100%;
    margin: 0.2rem 0;
  }
}

/* 控制column-layout表格产品图片大小 */
.product-comparison-table.column-layout .table-product-img {
  max-width: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-comparison-table.column-layout .table-product-img {
    max-width: 50px;
  }
  /* 修正column-layout表格移动端结构错乱，保持原生表格结构 */
  .product-comparison-table.column-layout thead,
  .product-comparison-table.column-layout tbody,
  .product-comparison-table.column-layout tr,
  .product-comparison-table.column-layout td {
    display: revert !important;
    flex-direction: revert !important;
    gap: revert !important;
    background: revert !important;
    border-radius: revert !important;
    box-shadow: revert !important;
    border: revert !important;
    margin-bottom: revert !important;
    padding: revert !important;
    width: revert !important;
    min-width: revert !important;
    align-items: revert !important;
    justify-content: revert !important;
    font-size: revert !important;
  }
  /* 细节适配：图片、字体、padding等可单独微调 */
}

/* 优化column-layout表格Feature列样式 */
.product-comparison-table.column-layout td:first-child {
  font-weight: 700;
  color: #1e40af;
  font-size: 1.05rem;
  background: #f0f6ff;
  border-right: 2px solid #e2e8f0;
}
.product-comparison-table.column-layout th:first-child {
  font-weight: 700;
  color: #1e40af;
  font-size: 1.05rem;
  background: #e0e7ef;
}

/* 移动端下表格单元格边框优化 */
@media (max-width: 768px) {
  .product-comparison-table.column-layout td,
  .product-comparison-table.column-layout th {
    border: 1px solid #e2e8f0 !important;
    background: #fff;
  }
  .product-comparison-table.column-layout tr {
    border-bottom: none !important;
  }
  .product-comparison-table.column-layout td:first-child,
  .product-comparison-table.column-layout th:first-child {
    background: #f0f6ff;
    border-left: 2px solid #1e40af !important;
    font-weight: 700;
    color: #1e40af;
  }
}

/* 添加标准CTA按钮样式 */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1e40af;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.25);
    border: 1px solid #1e40af;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    box-shadow: 0 6px 10px rgba(30, 58, 138, 0.4);
}

/* 添加箭头指示器 */
.cta-button:after {
    content: " →";
    opacity: 0;
    margin-left: -5px;
    transition: all 0.3s ease;
}

.cta-button:hover:after {
    opacity: 1;
    margin-left: 5px;
}

/* 更新次要按钮样式，与其他页面保持一致 */
.cta-button.secondary {
    background-color: transparent;
    color: #6ec1e4;
    border: 2px solid #6ec1e4;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: rgba(110, 193, 228, 0.1);
    color: #5ab0d3;
    border-color: #5ab0d3;
    box-shadow: 0 2px 5px rgba(110, 193, 228, 0.2);
    transform: translateY(-2px);
}

.cta-button.secondary:after {
    content: "";
    margin-left: 0;
    opacity: 1;
}

