/* =============================================================
   features.css — 模式与能力 + 智子系统 板块样式
   Tab 切换展示器 + Apple 产品发布风纵向叙事
   复用 styles.css 设计 token
   ============================================================= */

/* -----------------------------------------------------------
   Section: 模式与能力 (.section-modes) — Tab 切换展示器
   ----------------------------------------------------------- */
.section-modes {
    padding: 80px 0;
    background: #fff;
}

/* Tab pills — 居中胶囊按钮组 */
.modes-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.modes-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid #e5e5e5;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.modes-tab i {
    font-size: 0.85rem;
}

.modes-tab:hover:not(.active) {
    border-color: #999;
}

.modes-tab.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Showcase container — constrained for comfortable viewing */
.modes-showcase {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

/* Panels — only active one visible */
.modes-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    animation: modesFadeIn 0.35s ease forwards;
}

.modes-panel.active {
    display: block;
}

@keyframes modesFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video display area — 自适应宽高，兼容横屏/竖屏视频 */
.modes-video-area {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.modes-video-area video {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #000;
}

.modes-video-area .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s;
    z-index: 2;
}

.modes-video-area:hover .play-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.modes-video-area .play-overlay i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.modes-video-area:hover .play-overlay i {
    transform: scale(1.1);
    background: #000;
}

.modes-video-area.playing .play-overlay {
    display: none;
}

/* Info row below video — text left, sub-tabs right */
.modes-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.modes-info-text h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--text-color);
}

.modes-info-text p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 480px;
}

/* Sub-tabs (scene/mode switcher) */
.modes-sub-tabs {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}

.modes-sub-tabs button {
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}

.modes-sub-tabs button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.modes-sub-tabs button:hover:not(.active) {
    border-color: #999;
}

/* --- 会议纪要预告卡 --- */
.modes-preview-card {
    position: relative;
    width: 100%;
    min-height: 280px;
    background: #f7f7f8;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    padding: 6px 14px;
    border: 1px solid var(--accent-color);
    border-radius: 100px;
    background: rgba(16, 163, 127, 0.06);
}

.preview-badge i {
    font-size: 0.7rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 560px;
    width: 100%;
}

.preview-item {
    text-align: center;
    padding: 12px;
}

.preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(16, 163, 127, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 16px;
    color: var(--accent-color);
}

.preview-item h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.preview-item p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0;
}


/* -----------------------------------------------------------
   Section: 智子系统 (.section-sophon) — 居中纵向布局
   与整站其他 section 保持一致的视觉节奏
   ----------------------------------------------------------- */
.section-sophon {
    padding: 80px 0;
    background: #0a0a0a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-sophon::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 163, 127, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* 标题区 — 居中，与整站 .section-header 一致 */
.sophon-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.sophon-header .tag {
    color: var(--accent-color);
}

.sophon-header h2 {
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

.sophon-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 480px;
    margin: 8px auto 0;
    line-height: 1.6;
    font-weight: 300;
}

/* 场景切换条 — pill 样式，与模式 Tab 一致的视觉语言 */
.sophon-scenes {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.sophon-scene {
    padding: 7px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.sophon-scene:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.7);
}

.sophon-scene.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* 视频播放器 — 居中，受控尺寸 */
.sophon-player {
    position: relative;
    max-width: 720px;
    height: 380px;
    margin: 0 auto 28px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.3s;
    z-index: 1;
}

.sophon-player:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.sophon-player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.sophon-player .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s;
    z-index: 2;
}

.sophon-player:hover .play-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.sophon-player .play-overlay i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
}

.sophon-player:hover .play-overlay i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.2);
}

.sophon-player.playing .play-overlay {
    display: none;
}

/* 底部区域：特性 + 下载，居中 */
.sophon-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* 特性横排 — 轻量 chip 样式 */
.sophon-features-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sophon-feature-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.sophon-feature-chip i {
    font-size: 0.75rem;
    color: var(--accent-color);
}

/* 下载区 — 居中 */
.sophon-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sophon-download .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.sophon-download .btn-download i {
    font-size: 0.9rem;
}

.sophon-download .btn-download:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 163, 127, 0.3);
}

.sophon-download-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dl-tag {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.3px;
}
