/* ========================================
   一季报页面专属样式
   股老师 2026 Q1 Report
   ======================================== */

/* 页面头部 */
.report-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1), rgba(245, 158, 11, 0.05));
    padding: 140px 24px 80px;
    border-bottom: 1px solid var(--border);
}

.report-hero .page-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.report-meta span {
    background: var(--card-bg);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

/* 目录导航 */
.toc-section {
    padding: 40px 24px;
    background: var(--bg-alt);
}

.toc-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 40px;
}

.toc-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-list li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: block;
    border-left: 3px solid transparent;
}

.toc-list li a:hover {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.08);
    border-left-color: var(--primary);
}

/* 报告区块通用 */
.report-section {
    padding: 80px 24px;
}

.report-section.alt-bg {
    background: var(--bg-alt);
}

/* 市场回顾 */
.market-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.overview-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.overview-card.highlight-card {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card-data {
    margin-bottom: 16px;
}

.data-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text);
    font-family: var(--font-sans);
    letter-spacing: -1px;
}

.highlight-card .data-value {
    color: var(--primary-light);
}

.data-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 图表区域 */
.chart-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.chart-container h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.chart-placeholder {
    padding: 20px 0;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    padding: 0 20px;
    gap: 16px;
    border-bottom: 2px solid var(--border);
}

.bar {
    flex: 1;
    max-width: 80px;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s ease;
    min-height: 20px;
}

.bar.positive {
    background: linear-gradient(to top, var(--success), #4ade80);
}

.bar.negative {
    background: linear-gradient(to top, var(--danger), #f87171);
}

.bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.chart-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 40px;
}

/* 热门板块 */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sector-icon {
    font-size: 2rem;
}

.sector-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
}

.sector-change {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--success);
    font-family: var(--font-sans);
}

.sector-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.sector-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

.sector-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.sector-link:hover {
    color: var(--primary);
}

/* 教学成果 */
.teaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.teaching-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.teaching-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.teaching-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-light);
    font-family: var(--font-sans);
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.teaching-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.teaching-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 课程排行 */
.course-highlight {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.course-highlight h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.course-ranking {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.rank-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

.rank-num {
    font-size: 1.5rem;
    font-weight: 800;
    min-width: 36px;
    text-align: center;
}

.rank-info {
    flex: 1;
}

.rank-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.rank-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rank-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.rank-link:hover {
    color: var(--primary);
}

/* 学员反馈 */
.feedback-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.feedback-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: none;
    gap: 24px;
    align-items: flex-start;
}

.feedback-card.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.feedback-avatar {
    font-size: 3.5rem;
    min-width: 70px;
    text-align: center;
}

.feedback-content {
    flex: 1;
}

.feedback-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 16px;
    font-style: italic;
}

.feedback-author {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feedback-author strong {
    color: var(--text);
}

.feedback-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.feedback-prev,
.feedback-next {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.feedback-prev:hover,
.feedback-next:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.feedback-indicator {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 60px;
    text-align: center;
}

/* 展望 */
.outlook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.outlook-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.outlook-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.outlook-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.outlook-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.outlook-card ul {
    list-style: none;
}

.outlook-card ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.outlook-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.outlook-card ul li strong {
    color: var(--text);
}

.outlook-cta {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.outlook-cta p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: var(--text-light);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .report-hero {
        padding: 120px 16px 60px;
    }

    .report-meta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .toc-card {
        padding: 24px;
    }

    .chart-bars {
        height: 150px;
        padding: 0 10px;
        gap: 10px;
    }

    .bar::after {
        font-size: 0.7rem;
        bottom: -24px;
    }

    .feedback-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .feedback-avatar {
        margin: 0 auto;
    }

    .rank-item {
        flex-wrap: wrap;
    }

    .rank-link {
        width: 100%;
        text-align: right;
    }

    .course-highlight {
        padding: 24px;
    }

    .outlook-cta {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .teaching-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .market-overview-grid {
        grid-template-columns: 1fr;
    }

    .outlook-grid {
        grid-template-columns: 1fr;
    }
}