/* 统一展示卡：结构参照科研助手首页，卡片底参照官网「公司核心业务」 */

.iar-showcase-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.iar-showcase-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: iar-showcase-rotate 20s linear infinite;
}

.iar-showcase-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.iar-showcase-title {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 20px;
}

.iar-showcase-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
}

.iar-showcase-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    margin: 0 0 20px;
}

.iar-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.iar-showcase-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.iar-showcase-grid--stack {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
}

.iar-showcase-home-split {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px 20px 20px;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 36px;
    align-items: start;
}

.iar-showcase-home-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    min-width: 0;
}

.iar-showcase-home-panel.is-sticky {
    position: sticky;
    top: 88px;
}

.iar-showcase-home-panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 22px 22px 12px;
    text-align: left;
    position: relative;
    padding-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.iar-showcase-home-panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 22px;
    width: 72px;
    height: 4px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
}

.iar-showcase-home-panel .iar-showcase-grid {
    padding: 16px 18px 22px;
    margin-top: 0;
    background: transparent;
}

.iar-showcase-info-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

.iar-showcase-info-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eceff7;
}

.iar-showcase-info-list li:last-child {
    border-bottom: none;
}

.iar-showcase-info-list a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    display: block;
}

.iar-showcase-info-list a:hover {
    color: #667eea;
}

.iar-showcase-info-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.iar-showcase-info-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eef1ff 0%, #e8e0ff 100%);
    color: #3d4db7;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #c5cbf5;
    line-height: 1.4;
}

.iar-showcase-info-date {
    display: inline-block;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 400;
}

.iar-showcase-info-empty {
    color: #8a94a6;
    font-size: 13px;
    padding: 8px 0 4px;
    margin: 10px 0 0;
}

.iar-showcase-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
}

.iar-showcase-card:hover,
.iar-showcase-card:focus {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
    color: inherit;
    text-decoration: none;
}

.iar-showcase-card:hover .iar-showcase-label,
.iar-showcase-card:focus .iar-showcase-label {
    -webkit-text-fill-color: transparent;
}

.iar-showcase-card.is-group {
    cursor: default;
}

.iar-showcase-card.is-group:hover {
    transform: translateY(-8px) scale(1.01);
}

.iar-showcase-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    line-height: 1;
}

.iar-showcase-card:hover .iar-showcase-icon {
    transform: scale(1.12) rotate(5deg);
    color: #764ba2;
}

.iar-showcase-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.iar-showcase-card h3,
.iar-showcase-card .iar-showcase-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iar-showcase-en {
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    margin: 0 0 10px;
}

.iar-showcase-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.iar-showcase-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    width: 100%;
}

.iar-showcase-features li {
    padding: 4px 0;
    font-size: 13px;
    color: #666;
}

.iar-showcase-features li::before {
    content: '✓ ';
    color: #667eea;
    font-weight: 700;
}

.iar-showcase-btn {
    margin-top: 16px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iar-showcase-card:hover .iar-showcase-btn,
.iar-showcase-btn:hover,
.iar-showcase-btn:focus {
    color: #fff;
    text-decoration: none;
}

.iar-showcase-btn:hover,
.iar-showcase-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.iar-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    padding-top: 16px;
    width: 100%;
}

.iar-showcase-actions .iar-showcase-btn {
    margin-top: 0;
}

.iar-showcase-actions .btn-secondary-action,
.iar-showcase-btn.btn-secondary-action {
    background: #f1f5f9;
    color: #4c1d95;
    border: 1px solid #ddd6fe;
}

.iar-showcase-actions .btn-secondary-action:hover,
.iar-showcase-btn.btn-secondary-action:hover {
    color: #4c1d95;
    box-shadow: 0 6px 16px rgba(76, 29, 149, 0.18);
}

.iar-showcase-core-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.iar-showcase-core-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: iar-showcase-rotate 20s linear infinite;
}

@keyframes iar-showcase-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.iar-showcase-core-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.iar-showcase-core-title {
    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.iar-showcase-core-section .iar-showcase-grid {
    margin-top: 0;
}

.iar-showcase-core-card .iar-showcase-label {
    margin: 0;
}

.iar-showcase-card--compact {
    padding: 18px 12px 16px;
    min-height: 0;
    border-radius: 14px;
}

.iar-showcase-card--compact .iar-showcase-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.iar-showcase-card--compact h3,
.iar-showcase-card--compact .iar-showcase-label {
    font-size: 16px;
    margin-bottom: 8px;
}

.iar-showcase-card--compact .iar-showcase-features li {
    font-size: 12px;
    padding: 2px 0;
}

.iar-showcase-card--compact .iar-showcase-btn {
    margin-top: 10px;
    padding: 7px 14px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .iar-showcase-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .iar-showcase-home-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .iar-showcase-home-panel.is-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .iar-showcase-title { font-size: 28px; }
    .iar-showcase-core-title { font-size: 28px; }
    .iar-showcase-home-panel-title { font-size: 22px; }
    .iar-showcase-home-split {
        padding: 36px 15px 10px;
    }
    .iar-showcase-grid,
    .iar-showcase-grid--compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .iar-showcase-core-section {
        padding: 60px 15px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .iar-showcase-home-panel-title { font-size: 20px; }
}
