/* ===== PAGE HERO ===== */
#page-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.page-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #000 0%, #0a0a0a 40%, #111 100%); }
.page-hero-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse at 80% 30%, rgba(212,119,42,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(212,119,42,0.04) 0%, transparent 50%);
}
.page-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-label {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--theme-color);
    margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.page-hero-label::before { content: ''; width: 40px; height: 1px; background: var(--theme-color); }
.page-hero-title {
    font-size: clamp(3rem, 7vw, 7rem); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 30px;
    opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.page-hero-title em { font-style: normal; color: var(--theme-color); display: block; }
.page-hero-subtitle {
    max-width: 520px; font-size: 16px; line-height: 1.8; color: rgba(239,239,239,0.65);
    opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}
.page-hero-meta {
    display: flex; gap: 40px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border-color);
    opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.meta-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.35); margin-bottom: 4px; }
.meta-value { font-family: var(--heading-font); font-size: 1.1rem; color: var(--font-color); }

/* ===== TRAINING VIDEO ===== */
#training-video { padding: 100px 0; background: var(--assistant-color); border-bottom: 1px solid var(--border-color); }
.video-layout { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: start; min-width: 0; }
.video-layout > * { min-width: 0; }
.video-embed-wrap { position: relative; width: 375px; aspect-ratio: 1080 / 1432; background: #0a0a0a; border: 1px solid var(--border-color); overflow: hidden; flex-shrink: 0; }
.video-embed-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--theme-color); z-index: 1; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-info { display: flex; flex-direction: column; height: calc(375px * 1432 / 1080); }
.video-title { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 20px; flex-shrink: 0; }
.video-desc { font-size: 15px; line-height: 1.9; color: rgba(239,239,239,0.65); margin-bottom: 20px; flex-shrink: 0; }
.video-chapters { list-style: none; border: 1px solid var(--border-color); flex: 1; overflow-y: scroll; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(254,242,194,0.25) rgba(255,255,255,0.04); padding-top: 4px; background: rgba(255,255,255,0.01); }
.video-chapters::-webkit-scrollbar { width: 6px; }
.video-chapters::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.video-chapters::-webkit-scrollbar-thumb { background: rgba(254,242,194,0.2); border-radius: 3px; }
.video-chapters::-webkit-scrollbar-thumb:hover { background: rgba(254,242,194,0.45); }
.video-chapters li { display: flex; align-items: center; gap: 16px; padding: 12px; border-bottom: 1px solid var(--border-color); font-size: 13px; cursor: pointer; transition: background 0.2s; box-sizing: border-box; width: 100%; }
.video-chapters li:hover { background: rgba(254,242,194,0.05); }
.video-chapters li:hover .chapter-title { color: var(--theme-color); }
.video-chapters li.active-chapter { background: rgba(254,242,194,0.07); }
.video-chapters li.active-chapter .chapter-time { color: var(--theme-color); }
.video-chapters li.active-chapter .chapter-title { color: #fff; }
.chapter-play-icon { margin-left: auto; font-size: 10px; color: rgba(254,242,194,0.25); flex-shrink: 0; transition: color 0.2s; }
.video-chapters li:hover .chapter-play-icon, .video-chapters li.active-chapter .chapter-play-icon { color: var(--theme-color); }
.chapter-time { font-family: var(--heading-font); font-size: 0.85rem; color: var(--theme-color); min-width: 44px; flex-shrink: 0; }
.chapter-title { color: rgba(239,239,239,0.7); transition: color 0.2s; }

/* ===== DOCUMENTS ===== */
#documents { padding: 100px 0; background: var(--bg-color); }
.docs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.docs-header-text p { max-width: 400px; font-size: 14px; color: rgba(239,239,239,0.5); line-height: 1.8; margin-top: 10px; }
.docs-grid { position: relative; overflow: hidden; transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.doc-card {
    background: var(--bg-color); padding: 36px 32px; position: absolute; display: flex; flex-direction: column; gap: 16px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s;
    box-sizing: border-box; border: 0.5px solid var(--border-color);
}
.doc-card.is-hidden { opacity: 0; transform: scale(0.88); pointer-events: none; }
.doc-card.entering { opacity: 0; transform: scale(0.88); }
.doc-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--theme-color); transition: width 0.4s; }
.doc-card:not(.is-hidden):hover { background: #0d0d0d; }
.doc-card:not(.is-hidden):hover::after { width: 100%; }
.doc-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.doc-icon { width: 48px; height: 48px; background: rgba(254,242,194,0.06); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--theme-color); flex-shrink: 0; transition: background 0.3s, border-color 0.3s; }
.doc-card:hover .doc-icon { background: rgba(254,242,194,0.12); border-color: var(--theme-color); }
.doc-badge { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--border-color); color: rgba(239,239,239,0.4); }
.doc-badge.new { border-color: var(--theme-color); color: var(--theme-color); background: rgba(254,242,194,0.05); }
.doc-title { font-family: var(--heading-font); font-size: 1.25rem; color: var(--heading-color); line-height: 1.2; }
.doc-desc { font-size: 13px; line-height: 1.75; color: rgba(239,239,239,0.5); flex-grow: 1; }
.doc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border-color); margin-top: 4px; }
.doc-meta { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(239,239,239,0.3); display: flex; flex-direction: column; gap: 2px; }
.doc-download { display: inline-flex; align-items: center; gap: 8px; color: var(--theme-color); text-decoration: none; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; transition: opacity 0.3s; cursor: pointer; background: none; border: none; font-family: var(--body-font); padding: 0; }
.doc-download:hover { opacity: 0.7; }
.doc-download i { font-size: 12px; }

/* ===== QUICK LINKS ===== */
.quick-links-bar { background: var(--assistant-color); border: 1px solid var(--border-color); padding: 0; margin-bottom: 60px; }
.quick-links-inner { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.quick-links-inner::-webkit-scrollbar { display: none; }
.quick-link-item { display: flex; align-items: center; gap: 10px; padding: 20px 32px; border-right: 1px solid var(--border-color); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.4); white-space: nowrap; cursor: pointer; transition: color 0.3s; text-decoration: none; }
.quick-link-item:last-child { border-right: none; }
.quick-link-item:hover { color: var(--theme-color); background: rgba(254,242,194,0.03); }
.quick-link-item.active { color: var(--theme-color); background: rgba(254,242,194,0.06); box-shadow: inset 0 -2px 0 var(--theme-color); }
.quick-link-item i { color: var(--theme-color); font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .video-layout { grid-template-columns: 1fr; gap: 40px; }
    .video-embed-wrap { width: 100%; max-width: 375px; margin: 0 auto; aspect-ratio: 1080 / 1432; }
    .video-info { height: 520px; }
    .docs-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .page-hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; flex-wrap: unset; }
}
@media (max-width: 600px) {
    .video-embed-wrap { width: 100%; max-width: 100%; }
    .video-info { height: 480px; }
    #page-hero { padding: 140px 0 70px; }
}

/* ===== DOCS SECTION ===== */
.docs-section-title { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.1; }
