/* --- Docs Layout --- */
.docs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1400px;
    margin: 120px auto 0;
    gap: 60px;
    padding: 0 5%;
}

/* --- Sidebar --- */
.docs-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    padding-bottom: 40px;
}

.sidebar-section h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #86868b;
    margin: 30px 0 12px;
}

.side-link {
    display: block;
    padding: 10px 0;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.side-link:hover, .side-link.active {
    color: #5170ff;
    padding-left: 5px;
}

/* --- Content Styling --- */
.docs-header h1 { font-size: 4rem; margin-bottom: 15px; font-weight: 700; letter-spacing: -1px;}
.docs-header p { font-size: 1.4rem; color: #424245; margin-bottom: 80px; }

.doc-section {
    padding-bottom: 100px;
    margin-bottom: 80px;
    border-bottom: 1px solid #f2f2f2;
}

/* --- ANIMATION FIX --- */
.reveal-up {
    opacity: 1; 
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- VIDEO STYLING  --- */
.product-media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    border-radius: 20px;
    overflow: hidden; 
    margin: 40px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.docs-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; 
    object-fit: cover; 
    outline: none;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 2400/1080;
    background: #f5f5f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* --- Card UI --- */
.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.step-num {
    font-weight: 800;
    color: #5170ff;
    background: rgba(81, 112, 255, 0.1);
    padding: 10px 14px;
    border-radius: 10px;
}

.info-alert {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 16px;
    border-left: 5px solid #5170ff;
    margin: 30px 0;
}

@media (max-width: 992px) {
    .docs-container { grid-template-columns: 1fr; }
    .docs-sidebar { display: none; }
}